summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko2007-11-06 02:02:45 +0000
committerDenis Vlasenko2007-11-06 02:02:45 +0000
commitef66d75704a2ca30b4dceb277fa6fcf694272cda (patch)
tree92132e0999c92334538e1fe4a4d28bd481b48c16
parent018b155ad938ed9a1867214e13b166495599d222 (diff)
downloadbusybox-ef66d75704a2ca30b4dceb277fa6fcf694272cda.zip
busybox-ef66d75704a2ca30b4dceb277fa6fcf694272cda.tar.gz
insmod: make error reporting less verbose
-rw-r--r--modutils/insmod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index c3c57ed..7d51d9d 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -4241,8 +4241,8 @@ static int insmod_ng_main(int argc, char **argv)
ret = syscall(__NR_init_module, map, len, options);
if (ret != 0) {
- bb_perror_msg_and_die("cannot insert '%s': %s (%li)",
- filename, moderror(errno), ret);
+ bb_error_msg_and_die("cannot insert '%s': %s",
+ filename, moderror(errno));
}
return 0;