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:
Denis Vlasenko
2009-03-03 18:47:56 +00:00
parent 787a492f23
commit 9604e1b8fc
5 changed files with 19 additions and 18 deletions

View File

@@ -83,7 +83,7 @@ struct partition {
unsigned char size4[4]; /* nr of sectors in partition */
} PACKED;
static const char unable_to_open[] ALIGN1 = "can't open %s";
static const char unable_to_open[] ALIGN1 = "can't open '%s'";
static const char unable_to_read[] ALIGN1 = "can't read from %s";
static const char unable_to_seek[] ALIGN1 = "can't seek on %s";