From 4febd913262709656ca872208e37439ac26a1843 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 8 Nov 2008 21:42:14 +0000 Subject: [PATCH] kbd_mode: s/ioctl/xioctl. also saves 12 bytes --- console-tools/kbd_mode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)