diff options
author | bde <bde@FreeBSD.org> | 1995-05-17 07:39:43 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-05-17 07:39:43 +0000 |
commit | 4b10d438f332cf1a6df3a2ca078668d14e917a41 (patch) | |
tree | 21334948384eb034bcae95931f389b86fce0de4f /sys | |
parent | 139020888fb7755adbc58de3973a9d148013aa97 (diff) | |
download | FreeBSD-src-4b10d438f332cf1a6df3a2ca078668d14e917a41.zip FreeBSD-src-4b10d438f332cf1a6df3a2ca078668d14e917a41.tar.gz |
Reviewed by: phk
serial_putchar() always hung if it was called and the serial port existed,
so booting with -h hung when the above bug was fixed. Previously, setting
-h did nothing but -h was sometimes the default due to the stack garbage
bug.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/i386/boot/kzipboot/boot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/boot/kzipboot/boot.c b/sys/i386/boot/kzipboot/boot.c index 16ccefd..2c91fe4 100644 --- a/sys/i386/boot/kzipboot/boot.c +++ b/sys/i386/boot/kzipboot/boot.c @@ -60,7 +60,7 @@ void serial_putchar (unsigned char c) do { stat = inb (COMCONSOLE+5); - } while (stat & 0x20); + } while (!(stat & 0x20)); outb (COMCONSOLE, c); } |