Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/alpha/stand/boot Fix bug found by Bernd "Veego" Ern...



details:   https://anonhg.NetBSD.org/src/rev/c32689835114
branches:  trunk
changeset: 467634:c32689835114
user:      ross <ross%NetBSD.org@localhost>
date:      Fri Mar 26 20:53:12 1999 +0000

description:
Fix bug found by Bernd "Veego" Ernesti: close the console disk channel.

diffstat:

 sys/arch/alpha/stand/boot/disk.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 538e8f335cad -r c32689835114 sys/arch/alpha/stand/boot/disk.c
--- a/sys/arch/alpha/stand/boot/disk.c  Fri Mar 26 20:15:01 1999 +0000
+++ b/sys/arch/alpha/stand/boot/disk.c  Fri Mar 26 20:53:12 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: disk.c,v 1.9 1998/12/28 09:12:52 ross Exp $ */
+/* $NetBSD: disk.c,v 1.10 1999/03/26 20:53:12 ross Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -156,6 +156,7 @@
        struct disk_softc *sc;
 
        sc = f->f_devdata;
+       (void)prom_close(sc->sc_fd);
 
        free(sc, sizeof(struct disk_softc));
        f->f_devdata = NULL;



Home | Main Index | Thread Index | Old Index