Author: jkim Date: Wed Feb 29 18:11:33 2012 New Revision: 232309 URL: http://svn.freebsd.org/changeset/base/232309
Log: 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 Modified: head/sys/boot/i386/libi386/vidconsole.c Modified: head/sys/boot/i386/libi386/vidconsole.c ============================================================================== --- head/sys/boot/i386/libi386/vidconsole.c Wed Feb 29 17:47:01 2012 (r232308) +++ head/sys/boot/i386/libi386/vidconsole.c Wed Feb 29 18:11:33 2012 (r232309) @@ -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 */ _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"