aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-03-03 18:47:56 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-03-03 18:47:56 +0000
commit9604e1b8fc1e6c64fb977791d5f2819389a37377 (patch)
tree072ba5f8e13dbbc380147c79468ed77fa8e1ae3b /util-linux
parent787a492f23bbd567fb9bf2486ce9994bd19ebec2 (diff)
downloadbusybox-w32-9604e1b8fc1e6c64fb977791d5f2819389a37377.tar.gz
busybox-w32-9604e1b8fc1e6c64fb977791d5f2819389a37377.tar.bz2
busybox-w32-9604e1b8fc1e6c64fb977791d5f2819389a37377.zip
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
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/fdisk.c2
-rw-r--r--util-linux/umount.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c
index b1f0b65c6..dc61e238a 100644
--- a/util-linux/fdisk.c
+++ b/util-linux/fdisk.c
@@ -83,7 +83,7 @@ struct partition {
83 unsigned char size4[4]; /* nr of sectors in partition */ 83 unsigned char size4[4]; /* nr of sectors in partition */
84} PACKED; 84} PACKED;
85 85
86static const char unable_to_open[] ALIGN1 = "can't open %s"; 86static const char unable_to_open[] ALIGN1 = "can't open '%s'";
87static const char unable_to_read[] ALIGN1 = "can't read from %s"; 87static const char unable_to_read[] ALIGN1 = "can't read from %s";
88static const char unable_to_seek[] ALIGN1 = "can't seek on %s"; 88static const char unable_to_seek[] ALIGN1 = "can't seek on %s";
89 89
diff --git a/util-linux/umount.c b/util-linux/umount.c
index 0662cea1b..901c9094f 100644
--- a/util-linux/umount.c
+++ b/util-linux/umount.c
@@ -69,7 +69,7 @@ int umount_main(int argc UNUSED_PARAM, char **argv)
69 fp = setmntent(bb_path_mtab_file, "r"); 69 fp = setmntent(bb_path_mtab_file, "r");
70 if (!fp) { 70 if (!fp) {
71 if (opt & OPT_ALL) 71 if (opt & OPT_ALL)
72 bb_error_msg_and_die("can't open %s", bb_path_mtab_file); 72 bb_error_msg_and_die("can't open '%s'", bb_path_mtab_file);
73 } else { 73 } else {
74 while (getmntent_r(fp, &me, path, PATH_MAX)) { 74 while (getmntent_r(fp, &me, path, PATH_MAX)) {
75 /* Match fstype if passed */ 75 /* Match fstype if passed */