projects
/
oweals
/
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 405785ff5f1753b7fe8f44991de074108db4199a..ef4f6191b6452b04b50673221aea0735f067d86c 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);
}