mirror of https://github.com/mirror/busybox.git
- sync with trunk
parent
9e6fe061d4
commit
3e7eca97b9
|
@ -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, (void*)(ptrdiff_t)opt);
|
||||
}
|
||||
|
||||
if (ENABLE_FEATURE_CLEAN_UP)
|
||||
|
|
Loading…
Reference in New Issue