Date: Sat, 3 Mar 2012 00:36:31 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r232417 - stable/9/sys/boot/i386/libi386 Message-ID: <201203030036.q230aVAC054685@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203030036.q230aVAC054685>