diff options
| author | Jake Burkholder <jake@FreeBSD.org> | 2002-01-01 21:45:30 +0000 |
|---|---|---|
| committer | Jake Burkholder <jake@FreeBSD.org> | 2002-01-01 21:45:30 +0000 |
| commit | cbecdd5743b7e7ceb1887f23cf1d64ee980dac21 (patch) | |
| tree | 4bd380954b91a1656a1c24d8ec688d15cb7e542c /sys/dev/ofw | |
| parent | 48cff2ea0ba021ec90dd4ad0b8a776e12b3c1023 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ofw')
| -rw-r--r-- | sys/dev/ofw/ofw_console.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ofw/ofw_console.c b/sys/dev/ofw/ofw_console.c index 282a442c9f8f..fef7d844b5e6 100644 --- a/sys/dev/ofw/ofw_console.c +++ b/sys/dev/ofw/ofw_console.c @@ -39,7 +39,7 @@ static const char rcsid[] = #include <dev/ofw/openfirm.h> -#define OFW_POLL_HZ 50 +#define OFW_POLL_HZ 4 static d_open_t ofw_dev_open; static d_close_t ofw_dev_close; @@ -286,7 +286,7 @@ ofw_cons_checkc(dev_t dev) { unsigned char ch; - if (OF_read(stdin, &ch, 1) != 0) { + if (OF_read(stdin, &ch, 1) > 0) { return (ch); } |
