From 54d10059c93cdbacd709147c1bda45c2039059eb Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Wed, 24 Dec 2008 03:11:43 +0000 Subject: *: 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 --- modutils/modprobe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modutils') 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: 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 */ -- cgit v1.2.3