modprobe: emit "can't open 'modules.dep': (errno)" instead of "module not found"
*: s/can't open %s/can't open '%s'/, it's better to use same string. function old new delta do_modprobe 588 601 +13 config_file_action 339 345 +6 modprobe_main 565 570 +5 unable_to_open 14 16 +2 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/0 up/down: 26/0) Total: 26 bytes text data bss dec hex filename 816800 476 7892 825168 c9750 busybox_old 816812 476 7892 825180 c975c busybox_unstripped
This commit is contained in:
+2
-2
@@ -4540,7 +4540,7 @@ forkchild(struct job *jp, /*union node *n,*/ int mode)
|
||||
if (jp->nprocs == 0) {
|
||||
close(0);
|
||||
if (open(bb_dev_null, O_RDONLY) != 0)
|
||||
ash_msg_and_raise_error("can't open %s", bb_dev_null);
|
||||
ash_msg_and_raise_error("can't open '%s'", bb_dev_null);
|
||||
}
|
||||
}
|
||||
if (!oldlvl) {
|
||||
@@ -9573,7 +9573,7 @@ setinputfile(const char *fname, int flags)
|
||||
if (fd < 0) {
|
||||
if (flags & INPUT_NOFILE_OK)
|
||||
goto out;
|
||||
ash_msg_and_raise_error("can't open %s", fname);
|
||||
ash_msg_and_raise_error("can't open '%s'", fname);
|
||||
}
|
||||
if (fd < 10) {
|
||||
fd2 = copyfd(fd, 10);
|
||||
|
||||
Reference in New Issue
Block a user