'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>.
263 bytes saved.
This commit is contained in:
@ -464,7 +464,7 @@ static void do_info(const char *file, const char *name, void (*proc)(int, const
|
||||
procinfo = fopen(file, "r");
|
||||
if (procinfo == NULL) {
|
||||
if (errno != ENOENT) {
|
||||
bb_perror_msg("%s", file);
|
||||
bb_simple_perror_msg(file);
|
||||
} else {
|
||||
bb_error_msg("no support for '%s' on this system", name);
|
||||
}
|
||||
|
Reference in New Issue
Block a user