aboutsummaryrefslogtreecommitdiff
path: root/modutils/modprobe.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-12-24 03:11:43 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-12-24 03:11:43 +0000
commit54d10059c93cdbacd709147c1bda45c2039059eb (patch)
tree20ea089eafe51723d93f28ed5b5ab7089bc2c9ff /modutils/modprobe.c
parent4e12b1a2a9e68685dff61acaee1e1f6c377d978c (diff)
downloadbusybox-w32-54d10059c93cdbacd709147c1bda45c2039059eb.tar.gz
busybox-w32-54d10059c93cdbacd709147c1bda45c2039059eb.tar.bz2
busybox-w32-54d10059c93cdbacd709147c1bda45c2039059eb.zip
*: tweak error messages
sysctl: shrink; support recursing if name is a directory: "sysctl net.ipv4.conf". Patch by xmaks AT email.cz text data bss dec hex filename 793659 504 7492 801655 c3b77 busybox_old 793576 504 7492 801572 c3b24 busybox_unstripped
Diffstat (limited to 'modutils/modprobe.c')
-rw-r--r--modutils/modprobe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modutils/modprobe.c b/modutils/modprobe.c
index 40a1e6627..ad39be059 100644
--- a/modutils/modprobe.c
+++ b/modutils/modprobe.c
@@ -193,7 +193,7 @@ error:
193 if (ENABLE_FEATURE_CLEAN_UP) 193 if (ENABLE_FEATURE_CLEAN_UP)
194 RELEASE_CONFIG_BUFFER(modname); 194 RELEASE_CONFIG_BUFFER(modname);
195 if (rc > 0 && !(option_mask32 & INSMOD_OPT_SILENT)) 195 if (rc > 0 && !(option_mask32 & INSMOD_OPT_SILENT))
196 bb_error_msg("Failed to %sload module %s: %s.", 196 bb_error_msg("failed to %sload module %s: %s",
197 (option_mask32 & MODPROBE_OPT_REMOVE) ? "un" : "", 197 (option_mask32 & MODPROBE_OPT_REMOVE) ? "un" : "",
198 module, moderror(rc)); 198 module, moderror(rc));
199 return rc; 199 return rc;
@@ -270,7 +270,7 @@ int modprobe_main(int argc UNUSED_PARAM, char **argv)
270 check_blacklist(conf, conf->probename)) { 270 check_blacklist(conf, conf->probename)) {
271 rc = do_modprobe(conf, conf->probename); 271 rc = do_modprobe(conf, conf->probename);
272 if (rc < 0 && !(opt & INSMOD_OPT_SILENT)) 272 if (rc < 0 && !(opt & INSMOD_OPT_SILENT))
273 bb_error_msg("Module %s not found.", arg); 273 bb_error_msg("module %s not found", arg);
274 } 274 }
275 } else { 275 } else {
276 /* Probe all aliases */ 276 /* Probe all aliases */