diff options
-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 1614957..4de3bb6 100644 --- a/console-tools/kbd_mode.c +++ b/console-tools/kbd_mode.c @@ -46,7 +46,7 @@ int kbd_mode_main(int ATTRIBUTE_UNUSED argc, char **argv) printf("The keyboard is in %s mode\n", mode); } else { opt = opt & UNICODE ? 3 : opt >> 1; - xioctl(fd, KDSKBMODE, &opt); + xioctl(fd, KDSKBMODE, opt); } if (ENABLE_FEATURE_CLEAN_UP) |