summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko2008-11-08 21:42:14 +0000
committerDenis Vlasenko2008-11-08 21:42:14 +0000
commit4febd913262709656ca872208e37439ac26a1843 (patch)
tree60ae0dab99d60aecb4458bc6418094e00f5b29cc
parentdc70069a466a62c7a8392c576423be2d5c22bbcf (diff)
downloadbusybox-4febd913262709656ca872208e37439ac26a1843.zip
busybox-4febd913262709656ca872208e37439ac26a1843.tar.gz
kbd_mode: s/ioctl/xioctl. also saves 12 bytes
-rw-r--r--console-tools/kbd_mode.c2
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)