Author: jkim
Date: Sat Mar 3 00:36:30 2012
New Revision: 232417
URL: http://svn.freebsd.org/changeset/base/232417
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/9/sys/boot/i386/libi386/vidconsole.c
Directory Properties:
stable/9/sys/ (props changed)
stable/9/sys/boot/ (props changed)
Modified: stable/9/sys/boot/i386/libi386/vidconsole.c
==============================================================================
--- stable/9/sys/boot/i386/libi386/vidconsole.c Sat Mar 3 00:11:46 2012
(r232416)
+++ stable/9/sys/boot/i386/libi386/vidconsole.c Sat Mar 3 00:36:30 2012
(r232417)
@@ -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 */
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"