svn commit: trunk/busybox/modutils

vapier at busybox.net vapier at busybox.net
Wed Jun 21 23:03:38 UTC 2006


Author: vapier
Date: 2006-06-21 16:03:37 -0700 (Wed, 21 Jun 2006)
New Revision: 15474

Log:
Jean Wolter writes: modprobe checks, whether a module is already loaded. The function used for this currently always returns 0.


Modified:
   trunk/busybox/modutils/modprobe.c


Changeset:
Modified: trunk/busybox/modutils/modprobe.c
===================================================================
--- trunk/busybox/modutils/modprobe.c	2006-06-21 20:59:48 UTC (rev 15473)
+++ trunk/busybox/modutils/modprobe.c	2006-06-21 23:03:37 UTC (rev 15474)
@@ -609,7 +609,7 @@
 	}
 done:
 	close (fd);
-	return 0;
+	return ret;
 }
 
 static int mod_process ( struct mod_list_t *list, int do_insert )




More information about the busybox-cvs mailing list