kbd_mode: s/ioctl/xioctl. also saves 12 bytes

This commit is contained in:
Denis Vlasenko 2008-11-08 21:42:14 +00:00
parent dc70069a46
commit 4febd91326

View File

@ -32,7 +32,7 @@ int kbd_mode_main(int argc UNUSED_PARAM, char **argv)
const char *mode = "unknown"; const char *mode = "unknown";
int m; int m;
ioctl(fd, KDGKBMODE, &m); xioctl(fd, KDGKBMODE, &m);
if (m == K_RAW) if (m == K_RAW)
mode = "raw (scancode)"; mode = "raw (scancode)";
else if (m == K_XLATE) else if (m == K_XLATE)