projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc70069
)
kbd_mode: s/ioctl/xioctl. also saves 12 bytes
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sat, 8 Nov 2008 21:42:14 +0000
(21:42 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sat, 8 Nov 2008 21:42:14 +0000
(21:42 -0000)
console-tools/kbd_mode.c
patch
|
blob
|
history
diff --git
a/console-tools/kbd_mode.c
b/console-tools/kbd_mode.c
index c8451e72deabb78642094a6878f9dd03ea3a829d..544bbb789485b017ab057bf42f8df29fd5d5647f 100644
(file)
--- 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);
+
x
ioctl(fd, KDGKBMODE, &m);
if (m == K_RAW)
mode = "raw (scancode)";
else if (m == K_XLATE)