aboutsummaryrefslogtreecommitdiff
path: root/console-tools/dumpkmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'console-tools/dumpkmap.c')
-rw-r--r--console-tools/dumpkmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/console-tools/dumpkmap.c b/console-tools/dumpkmap.c
index 77689fc84..3ff5ef691 100644
--- a/console-tools/dumpkmap.c
+++ b/console-tools/dumpkmap.c
@@ -50,7 +50,7 @@ int dumpkmap_main(int argc, char **argv)
50 50
51 fd = open("/dev/tty0", O_RDWR); 51 fd = open("/dev/tty0", O_RDWR);
52 if (fd < 0) { 52 if (fd < 0) {
53 errorMsg("Error opening /dev/tty0: %s\n", strerror(errno)); 53 error_msg("Error opening /dev/tty0: %s\n", strerror(errno));
54 return EXIT_FAILURE; 54 return EXIT_FAILURE;
55 } 55 }
56 56
@@ -78,7 +78,7 @@ int dumpkmap_main(int argc, char **argv)
78 ke.kb_table = i; 78 ke.kb_table = i;
79 if (ioctl(fd, KDGKBENT, &ke) < 0) { 79 if (ioctl(fd, KDGKBENT, &ke) < 0) {
80 80
81 errorMsg("ioctl returned: %s, %s, %s, %xqq\n",strerror(errno),(char *)&ke.kb_index,(char *)&ke.kb_table,(int)&ke.kb_value); 81 error_msg("ioctl returned: %s, %s, %s, %xqq\n",strerror(errno),(char *)&ke.kb_index,(char *)&ke.kb_table,(int)&ke.kb_value);
82 } 82 }
83 else { 83 else {
84 write(1,(void*)&ke.kb_value,2); 84 write(1,(void*)&ke.kb_value,2);