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:
48dc80b
)
modutils: fix build error with !DEPMOD
author
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 6 Nov 2015 14:50:28 +0000
(15:50 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 6 Nov 2015 14:50:28 +0000
(15:50 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
modutils/modutils.c
patch
|
blob
|
history
diff --git
a/modutils/modutils.c
b/modutils/modutils.c
index 8e9eef72d84b8633b9677828bc182e2a7c146249..0a056731d2ad805bffd51976945923e87e58459d 100644
(file)
--- a/
modutils/modutils.c
+++ b/
modutils/modutils.c
@@
-39,7
+39,7
@@
static module_entry *helper_get_module(module_db *db, const char *module, int cr
e->modname = xstrdup(modname);
e->next = db->buckets[hash];
db->buckets[hash] = e;
- e->dnext = e->dprev = e;
+ IF_DEPMOD(e->dnext = e->dprev = e;)
return e;
}