diff options
author | jkim <jkim@FreeBSD.org> | 2012-02-29 18:11:33 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2012-02-29 18:11:33 +0000 |
commit | ab5cbfadb1d53328da49bf62aa7b7311b29765c1 (patch) | |
tree | 32edad4ebcb602f8ce03497bb30b0cef2ec3117e /sys/boot/i386 | |
parent | bf47057ad9dd16383a351f73c5dc1b17d4492ca0 (diff) | |
download | FreeBSD-src-ab5cbfadb1d53328da49bf62aa7b7311b29765c1.zip FreeBSD-src-ab5cbfadb1d53328da49bf62aa7b7311b29765c1.tar.gz |
Fix a long standing bug. The caller expects a non-zero value for success.
Luckily keyboard probing was turned off by default from the first revision.
Submitted by: Alexander Sack (asack at niksun dot com)
MFC after: 3 days
Diffstat (limited to 'sys/boot/i386')
-rw-r--r-- | sys/boot/i386/libi386/vidconsole.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/i386/libi386/vidconsole.c b/sys/boot/i386/libi386/vidconsole.c index d95ce88..073d531 100644 --- a/sys/boot/i386/libi386/vidconsole.c +++ b/sys/boot/i386/libi386/vidconsole.c @@ -623,10 +623,10 @@ probe_keyboard(void) #endif if (i == KBD_ECHO) { /* got the right answer */ - return (0); + return (1); } } - return (1); + return (0); } #endif /* KEYBOARD_PROBE */ |