aboutsummaryrefslogtreecommitdiff
path: root/busybox.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 /busybox.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 'busybox.c')
-rw-r--r--busybox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/busybox.c b/busybox.c
index e6f25afb5..0439fb566 100644
--- a/busybox.c
+++ b/busybox.c
@@ -54,7 +54,7 @@ static char *busybox_fullpath()
54 if (len != -1) { 54 if (len != -1) {
55 path[len] = 0; 55 path[len] = 0;
56 } else { 56 } else {
57 error_msg("%s: %s\n", proc, strerror(errno)); 57 perror_msg("%s", proc);
58 return NULL; 58 return NULL;
59 } 59 }
60 return strdup(path); 60 return strdup(path);
@@ -78,7 +78,7 @@ static void install_links(const char *busybox, int use_symbolic_links)
78 rc = Link(busybox, command); 78 rc = Link(busybox, command);
79 79
80 if (rc) { 80 if (rc) {
81 error_msg("%s: %s\n", command, strerror(errno)); 81 perror_msg("%s", command);
82 } 82 }
83 } 83 }
84} 84}