insmod: make error reporting less verbose

This commit is contained in:
Denis Vlasenko 2007-11-06 02:02:45 +00:00
parent 018b155ad9
commit ef66d75704

View File

@ -4241,8 +4241,8 @@ static int insmod_ng_main(int argc, char **argv)
ret = syscall(__NR_init_module, map, len, options); ret = syscall(__NR_init_module, map, len, options);
if (ret != 0) { if (ret != 0) {
bb_perror_msg_and_die("cannot insert '%s': %s (%li)", bb_error_msg_and_die("cannot insert '%s': %s",
filename, moderror(errno), ret); filename, moderror(errno));
} }
return 0; return 0;