diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2015-11-06 15:50:28 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2015-11-06 15:50:28 +0100 |
commit | 196e400441652946b9c7ad7bc2d78c73885f2359 (patch) | |
tree | f0826a8eb39e61dbb94c7d7afb75153597517843 /modutils/modutils.c | |
parent | 48dc80bbba994eee24ed94ae4532a1cce76d7cb7 (diff) | |
download | busybox-w32-196e400441652946b9c7ad7bc2d78c73885f2359.tar.gz busybox-w32-196e400441652946b9c7ad7bc2d78c73885f2359.tar.bz2 busybox-w32-196e400441652946b9c7ad7bc2d78c73885f2359.zip |
modutils: fix build error with !DEPMOD
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils/modutils.c')
-rw-r--r-- | modutils/modutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/modutils.c b/modutils/modutils.c index 8e9eef72d..0a056731d 100644 --- 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 | |||
39 | e->modname = xstrdup(modname); | 39 | e->modname = xstrdup(modname); |
40 | e->next = db->buckets[hash]; | 40 | e->next = db->buckets[hash]; |
41 | db->buckets[hash] = e; | 41 | db->buckets[hash] = e; |
42 | e->dnext = e->dprev = e; | 42 | IF_DEPMOD(e->dnext = e->dprev = e;) |
43 | 43 | ||
44 | return e; | 44 | return e; |
45 | } | 45 | } |