insmod: make error reporting less verbose
This commit is contained in:
parent
018b155ad9
commit
ef66d75704
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user