diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-09 00:42:14 +0300 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-09 00:42:14 +0300 |
commit | 4febd913262709656ca872208e37439ac26a1843 (patch) | |
tree | 60ae0dab99d60aecb4458bc6418094e00f5b29cc /console-tools/kbd_mode.c | |
parent | dc70069a466a62c7a8392c576423be2d5c22bbcf (diff) |
kbd_mode: s/ioctl/xioctl. also saves 12 bytes
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 c8451e72d..544bbb789 100644 --- a/console-tools/kbd_mode.c +++ b/console-tools/kbd_mode.c @@ -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) |