aboutsummaryrefslogtreecommitdiff
path: root/dumpkmap.c
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-12-18 03:57:16 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-12-18 03:57:16 +0000
commitc86ef1b2547856c114bdc16ed374585ea0a570e9 (patch)
treeb85a425c19b299f5d8635599e11c78c96f12a4c2 /dumpkmap.c
parentb67a9cce48df6a3d83fe70ae3a6c8ca0bd8b7afd (diff)
downloadbusybox-w32-c86ef1b2547856c114bdc16ed374585ea0a570e9.tar.gz
busybox-w32-c86ef1b2547856c114bdc16ed374585ea0a570e9.tar.bz2
busybox-w32-c86ef1b2547856c114bdc16ed374585ea0a570e9.zip
Change calls to error_msg.* and strerror to use perror_msg.*.
git-svn-id: svn://busybox.net/trunk/busybox@1466 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'dumpkmap.c')
-rw-r--r--dumpkmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dumpkmap.c b/dumpkmap.c
index 3ff5ef691..c5a2ea74e 100644
--- a/dumpkmap.c
+++ b/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 error_msg("Error opening /dev/tty0: %s\n", strerror(errno)); 53 perror_msg("Error opening /dev/tty0");
54 return EXIT_FAILURE; 54 return EXIT_FAILURE;
55 } 55 }
56 56