diff options
Diffstat (limited to 'console-tools/kbd_mode.c')
-rw-r--r-- | console-tools/kbd_mode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/console-tools/kbd_mode.c b/console-tools/kbd_mode.c index 544bbb789..e1d85231c 100644 --- a/console-tools/kbd_mode.c +++ b/console-tools/kbd_mode.c | |||
@@ -25,7 +25,7 @@ int kbd_mode_main(int argc UNUSED_PARAM, char **argv) | |||
25 | const char *tty_name = CURRENT_TTY; | 25 | const char *tty_name = CURRENT_TTY; |
26 | 26 | ||
27 | opt = getopt32(argv, "sakuC:", &tty_name); | 27 | opt = getopt32(argv, "sakuC:", &tty_name); |
28 | fd = xopen(tty_name, O_NONBLOCK); | 28 | fd = xopen_nonblocking(tty_name); |
29 | opt &= 0xf; /* clear -C bit, see (*) */ | 29 | opt &= 0xf; /* clear -C bit, see (*) */ |
30 | 30 | ||
31 | if (!opt) { /* print current setting */ | 31 | if (!opt) { /* print current setting */ |