svn commit: [25878] trunk/busybox/modutils
vda at busybox.net
vda at busybox.net
Sun Mar 29 17:25:14 UTC 2009
Author: vda
Date: 2009-03-29 17:25:14 +0000 (Sun, 29 Mar 2009)
New Revision: 25878
Log:
modutils: dont pass NULL options to init_module()
Modified:
trunk/busybox/modutils/modutils.c
Changeset:
Modified: trunk/busybox/modutils/modutils.c
===================================================================
--- trunk/busybox/modutils/modutils.c 2009-03-29 17:13:20 UTC (rev 25877)
+++ trunk/busybox/modutils/modutils.c 2009-03-29 17:25:14 UTC (rev 25878)
@@ -127,7 +127,7 @@
image = xmalloc_open_zipped_read_close(filename, &len);
if (image) {
rc = 0;
- if (init_module(image, len, options) != 0)
+ if (init_module(image, len, options ? options : "") != 0)
rc = errno;
free(image);
}
More information about the busybox-cvs
mailing list