aboutsummaryrefslogtreecommitdiff
path: root/console-tools/dumpkmap.c
diff options
context:
space:
mode:
authorMark Whitley <markw@lineo.com>2000-12-07 19:56:48 +0000
committerMark Whitley <markw@lineo.com>2000-12-07 19:56:48 +0000
commitf57c944e09417edcbcd69f2b01b937cadef39db2 (patch)
treea55822621d54bd82c54e272fa986e45698fea0f1 /console-tools/dumpkmap.c
parent7b5c16ebe5f1b057603cf1c0b0187be418725c42 (diff)
downloadbusybox-w32-f57c944e09417edcbcd69f2b01b937cadef39db2.tar.gz
busybox-w32-f57c944e09417edcbcd69f2b01b937cadef39db2.tar.bz2
busybox-w32-f57c944e09417edcbcd69f2b01b937cadef39db2.zip
Changed names of functions in utility.c and all affected files, to make
compliant with the style guide. Everybody rebuild your tags file!
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);