mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue