Change calls to error_msg.* and strerror to use perror_msg.*.

This commit is contained in:
Matt Kraai
2000-12-18 03:57:16 +00:00
parent 0dab829977
commit 1fa1adea2a
52 changed files with 185 additions and 204 deletions

View File

@@ -54,7 +54,7 @@ static char *busybox_fullpath()
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 @@ static void install_links(const char *busybox, int use_symbolic_links)
rc = Link(busybox, command);
if (rc) {
error_msg("%s: %s\n", command, strerror(errno));
perror_msg("%s", command);
}
}
}