summaryrefslogtreecommitdiff
path: root/modutils/modprobe.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-12-24 03:11:43 +0000
committerDenis Vlasenko2008-12-24 03:11:43 +0000
commit54d10059c93cdbacd709147c1bda45c2039059eb (patch)
tree20ea089eafe51723d93f28ed5b5ab7089bc2c9ff /modutils/modprobe.c
parent4e12b1a2a9e68685dff61acaee1e1f6c377d978c (diff)
downloadbusybox-54d10059c93cdbacd709147c1bda45c2039059eb.zip
busybox-54d10059c93cdbacd709147c1bda45c2039059eb.tar.gz
*: 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 40a1e66..ad39be0 100644
--- a/modutils/modprobe.c
+++ b/modutils/modprobe.c
@@ -193,7 +193,7 @@ error:
if (ENABLE_FEATURE_CLEAN_UP)
RELEASE_CONFIG_BUFFER(modname);
if (rc > 0 && !(option_mask32 & INSMOD_OPT_SILENT))
- bb_error_msg("Failed to %sload module %s: %s.",
+ bb_error_msg("failed to %sload module %s: %s",
(option_mask32 & MODPROBE_OPT_REMOVE) ? "un" : "",
module, moderror(rc));
return rc;
@@ -270,7 +270,7 @@ int modprobe_main(int argc UNUSED_PARAM, char **argv)
check_blacklist(conf, conf->probename)) {
rc = do_modprobe(conf, conf->probename);
if (rc < 0 && !(opt & INSMOD_OPT_SILENT))
- bb_error_msg("Module %s not found.", arg);
+ bb_error_msg("module %s not found", arg);
}
} else {
/* Probe all aliases */