aboutsummaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-03-23 16:25:17 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-03-23 16:25:17 +0100
commit651a2697f725f10c1ebdb8947925b5a9c6cf4fe2 (patch)
treee2373083cc4bf57af9c114c311ff089b84835f0f /modutils
parent37a658c4c86fa5ad9fb6f76cba2fca80f4249036 (diff)
downloadbusybox-651a2697f725f10c1ebdb8947925b5a9c6cf4fe2.tar.gz
*: merge some common strings
text data bss dec hexfilename 838650 8009 0 846659 ceb43busybox_old 838519 8009 0 846528 ceac0busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils')
-rw-r--r--modutils/modprobe-small.c2
-rw-r--r--modutils/modprobe.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/modutils/modprobe-small.c b/modutils/modprobe-small.c
index 53b7c9468..cf22b9471 100644
--- a/modutils/modprobe-small.c
+++ b/modutils/modprobe-small.c
@@ -402,7 +402,7 @@ static void write_out_dep_bb(int fd)
if (rename(DEPFILE_BB".new", DEPFILE_BB) != 0) {
err:
- bb_perror_msg("can't create %s", DEPFILE_BB);
+ bb_perror_msg("can't create '%s'", DEPFILE_BB);
unlink(DEPFILE_BB".new");
} else {
ok:
diff --git a/modutils/modprobe.c b/modutils/modprobe.c
index f511bc2ed..69b9e4687 100644
--- a/modutils/modprobe.c
+++ b/modutils/modprobe.c
@@ -298,7 +298,7 @@ static int do_modprobe(struct module_entry *m)
rc = bb_delete_module(m2->modname, O_EXCL);
if (rc) {
if (first) {
- bb_error_msg("failed to unload module %s: %s",
+ bb_error_msg("can't unload module %s: %s",
humanly_readable_name(m2),
moderror(rc));
break;
@@ -328,7 +328,7 @@ static int do_modprobe(struct module_entry *m)
rc = 0;
free(options);
if (rc) {
- bb_error_msg("failed to load module %s (%s): %s",
+ bb_error_msg("can't load module %s (%s): %s",
humanly_readable_name(m2),
fn,
moderror(rc)