diff options
author | Denis Vlasenko | 2008-11-08 21:42:14 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-11-08 21:42:14 +0000 |
commit | 4febd913262709656ca872208e37439ac26a1843 (patch) | |
tree | 60ae0dab99d60aecb4458bc6418094e00f5b29cc /console-tools/kbd_mode.c | |
parent | dc70069a466a62c7a8392c576423be2d5c22bbcf (diff) | |
download | busybox-4febd913262709656ca872208e37439ac26a1843.zip busybox-4febd913262709656ca872208e37439ac26a1843.tar.gz |
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 c8451e7..544bbb7 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) |