diff options
Diffstat (limited to 'console-tools/dumpkmap.c')
-rw-r--r-- | console-tools/dumpkmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/console-tools/dumpkmap.c b/console-tools/dumpkmap.c index 22652a5e2..d2bb6dcff 100644 --- a/console-tools/dumpkmap.c +++ b/console-tools/dumpkmap.c | |||
@@ -81,7 +81,7 @@ int dumpkmap_main(int argc, char **argv) | |||
81 | ke.kb_table = i; | 81 | ke.kb_table = i; |
82 | if (ioctl(fd, KDGKBENT, &ke) < 0) { | 82 | if (ioctl(fd, KDGKBENT, &ke) < 0) { |
83 | 83 | ||
84 | error_msg("ioctl returned: %s, %s, %s, %xqq", strerror(errno),(char *)&ke.kb_index,(char *)&ke.kb_table,(int)&ke.kb_value); | 84 | error_msg("ioctl returned: %m, %s, %s, %xqq", (char *)&ke.kb_index,(char *)&ke.kb_table,(int)&ke.kb_value); |
85 | } | 85 | } |
86 | else { | 86 | else { |
87 | write(1,(void*)&ke.kb_value,2); | 87 | write(1,(void*)&ke.kb_value,2); |