svn commit: r232418 - stable/7/sys/boot/i386/libi386
Jung-uk Kim
jkim at FreeBSD.org
Sat Mar 3 00:37:06 UTC 2012
Author: jkim
Date: Sat Mar 3 00:37:03 2012
New Revision: 232418
URL: http://svn.freebsd.org/changeset/base/232418
Log:
MFC: r232309
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.
Modified:
stable/7/sys/boot/i386/libi386/vidconsole.c
Directory Properties:
stable/7/sys/ (props changed)
Modified: stable/7/sys/boot/i386/libi386/vidconsole.c
==============================================================================
--- stable/7/sys/boot/i386/libi386/vidconsole.c Sat Mar 3 00:36:30 2012 (r232417)
+++ stable/7/sys/boot/i386/libi386/vidconsole.c Sat Mar 3 00:37:03 2012 (r232418)
@@ -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 */
More information about the svn-src-stable-7
mailing list