Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Mar 2012 00:37:04 +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-7@freebsd.org
Subject:   svn commit: r232418 - stable/7/sys/boot/i386/libi386
Message-ID:  <201203030037.q230b4Su054737@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203030037.q230b4Su054737>