commit | 1fa1adea2ae16d4f4c82d7466905dce4c6edd5f5 | [log] [tgz] |
---|---|---|
author | Matt Kraai <kraai@debian.org> | Mon Dec 18 03:57:16 2000 +0000 |
committer | Matt Kraai <kraai@debian.org> | Mon Dec 18 03:57:16 2000 +0000 |
tree | b85a425c19b299f5d8635599e11c78c96f12a4c2 | |
parent | 0dab82997777bffb95d01d68e1628ee79207a03d [diff] [blame] |
Change calls to error_msg.* and strerror to use perror_msg.*.
diff --git a/busybox.c b/busybox.c index e6f25af..0439fb5 100644 --- a/busybox.c +++ b/busybox.c
@@ -54,7 +54,7 @@ if (len != -1) { path[len] = 0; } else { - error_msg("%s: %s\n", proc, strerror(errno)); + perror_msg("%s", proc); return NULL; } return strdup(path); @@ -78,7 +78,7 @@ rc = Link(busybox, command); if (rc) { - error_msg("%s: %s\n", command, strerror(errno)); + perror_msg("%s", command); } } }