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:
f28c7ec
)
cleanup the error message so we dont use glibcism of %m and cast a pointer to an...
author
Mike Frysinger
<vapier@gentoo.org>
Sat, 30 Jul 2005 09:29:10 +0000
(09:29 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Sat, 30 Jul 2005 09:29:10 +0000
(09:29 -0000)
console-tools/dumpkmap.c
patch
|
blob
|
history
diff --git
a/console-tools/dumpkmap.c
b/console-tools/dumpkmap.c
index 0897b32943be6d5f88c620a5e958ed370fe9a660..61768fe162476f58a2f4bebaa5146138bdd6b0af 100644
(file)
--- a/
console-tools/dumpkmap.c
+++ b/
console-tools/dumpkmap.c
@@
-77,10
+77,10
@@
int dumpkmap_main(int argc, char **argv)
ke.kb_index = j;
ke.kb_table = i;
if (ioctl(fd, KDGKBENT, &ke) < 0) {
- bb_
error_msg("ioctl returned: %m, %s, %s, %xqq
",
+ bb_
perror_msg("ioctl failed with %s, %s, %p
",
(char *)&ke.kb_index,
(char *)&ke.kb_table,
-
(int)
&ke.kb_value);
+ &ke.kb_value);
} else {
write(1, (void*)&ke.kb_value, 2);
}