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:
parent
bf47057ad9
commit
ab5cbfadb1
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user