2002-06-30 Yoshinori K. Okuji <okuji@alien>

* stage2/serial.c [!GRUB_UTIL] (serial_hw_fetch): Fixed the
	conditional statement. Reported by Ilguiz Latypov.
This commit is contained in:
okuji 2002-06-29 20:35:27 +00:00
parent f711a2453a
commit d53e46f0a9
3 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2002-06-30 Yoshinori K. Okuji <okuji@alien>
* stage2/serial.c [!GRUB_UTIL] (serial_hw_fetch): Fixed the
conditional statement. Reported by Ilguiz Latypov.
2002-06-24 Yoshinori K. Okuji <okuji@enbug.org>
* MAINTENANCE: New file.

1
THANKS
View file

@ -43,6 +43,7 @@ Henrik Nordstrom <hno@marasystems.com>
Herbert Nachtnebel <nachtneb@iaee.tuwien.ac.at>
Hisazumi Kenji <nel@soraneko.com>
HORIKAWA Kazunori <kaz-hori@tkd.att.ne.jp>
Ilguiz Latypov <ilatypov@superbt.com>
Jan Fricke <fricke@uni-greifswald.de>
Jan Zerebecki <jan.list@elite-pferde.de>
Jason Thomas <jason@topic.com.au>

View file

@ -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;