mirror of
https://github.com/sheumann/hush.git
synced 2024-12-21 23:29:34 +00:00
kbd_mode: s/ioctl/xioctl. also saves 12 bytes
This commit is contained in:
parent
dc70069a46
commit
4febd91326
@ -32,7 +32,7 @@ int kbd_mode_main(int argc UNUSED_PARAM, char **argv)
|
||||
const char *mode = "unknown";
|
||||
int m;
|
||||
|
||||
ioctl(fd, KDGKBMODE, &m);
|
||||
xioctl(fd, KDGKBMODE, &m);
|
||||
if (m == K_RAW)
|
||||
mode = "raw (scancode)";
|
||||
else if (m == K_XLATE)
|
||||
|
Loading…
Reference in New Issue
Block a user