projects
/
platform
/
upstream
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a83dbd4
)
modutils: dont pass NULL options to init_module()
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 29 Mar 2009 17:25:14 +0000
(17:25 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 29 Mar 2009 17:25:14 +0000
(17:25 -0000)
modutils/modutils.c
patch
|
blob
|
history
diff --git
a/modutils/modutils.c
b/modutils/modutils.c
index
405785f
..
ef4f619
100644
(file)
--- a/
modutils/modutils.c
+++ b/
modutils/modutils.c
@@
-127,7
+127,7
@@
int FAST_FUNC bb_init_module(const char *filename, const char *options)
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);
}