insmod error message

Paul Fox pgf at brightstareng.com
Mon Nov 5 16:39:29 UTC 2007


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.

paul
=---------------------
 paul fox, pgf at brightstareng.com



More information about the busybox mailing list