insmod: make error reporting less verbose
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Tue, 6 Nov 2007 02:02:45 +0000 (02:02 +0000)
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Tue, 6 Nov 2007 02:02:45 +0000 (02:02 +0000)
git-svn-id: svn://busybox.net/trunk/busybox@20371 69ca8d6d-28ef-0310-b511-8ec308f3f277

modutils/insmod.c

index c3c57ed..7d51d9d 100644 (file)
@@ -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;