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
This commit is contained in:
jkim 2012-02-29 18:11:33 +00:00
parent bf47057ad9
commit ab5cbfadb1

View File

@ -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 */