insmod error message

Denys Vlasenko vda.linux at googlemail.com
Mon Nov 5 17:56:00 PST 2007


On Monday 05 November 2007 16:39, Paul Fox wrote:
> insmod.c contains the following code (near end of file, if you're looking):
> 	...
>         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);
>         }
> 
> is the return value from a failed __NR_init_module actually useful?
> it looks more like leftover debugging output.

Indeed it is. Removing it.
--
vda


More information about the busybox mailing list