[BusyBox-cvs] CVS update of busybox/modutils (insmod.c)

Robert Griebl sandman at codepoet.org
Tue Jul 20 15:43:59 UTC 2004


    Date: Tuesday, July 20, 2004 @ 09:43:59
  Author: sandman
    Path: /var/cvs/busybox/modutils

Modified: insmod.c (1.121 -> 1.122)

new_process_module_arguments returns 0 on error and 1 if everything went ok
somehow the ! got lost..
symptoms: modules could only be loaded _without_ parameters


Index: busybox/modutils/insmod.c
diff -u busybox/modutils/insmod.c:1.121 busybox/modutils/insmod.c:1.122
--- busybox/modutils/insmod.c:1.121	Tue Jun 22 14:10:53 2004
+++ busybox/modutils/insmod.c	Tue Jul 20 09:43:57 2004
@@ -3865,7 +3865,7 @@
 	++optind;
 
 	if (optind < argc) {
-		if (new_process_module_arguments(f, argc - optind, argv + optind))
+		if (!new_process_module_arguments(f, argc - optind, argv + optind))
 		{
 			goto out;
 		}



More information about the busybox-cvs mailing list