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
d3b70a1a3f
commit
c2d486714d
@ -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…
x
Reference in New Issue
Block a user