diff --git a/ChangeLog b/ChangeLog index 0d40bb6fd..4ea99e95b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-06-30 Yoshinori K. Okuji + + * stage2/serial.c [!GRUB_UTIL] (serial_hw_fetch): Fixed the + conditional statement. Reported by Ilguiz Latypov. + 2002-06-24 Yoshinori K. Okuji * MAINTENANCE: New file. diff --git a/THANKS b/THANKS index ec17d8c6c..a63436575 100644 --- a/THANKS +++ b/THANKS @@ -43,6 +43,7 @@ Henrik Nordstrom Herbert Nachtnebel Hisazumi Kenji HORIKAWA Kazunori +Ilguiz Latypov Jan Fricke Jan Zerebecki Jason Thomas diff --git a/stage2/serial.c b/stage2/serial.c index 925bfa8fd..706ff1068 100644 --- a/stage2/serial.c +++ b/stage2/serial.c @@ -80,7 +80,7 @@ outb (unsigned short port, unsigned char value) int serial_hw_fetch (void) { - if (inb ((serial_hw_port + UART_LSR) & UART_DATA_READY) == 0) + if (inb ((serial_hw_port + UART_LSR) & UART_DATA_READY)) return inb (serial_hw_port + UART_RX); return -1;