From: Denys Vlasenko Date: Fri, 6 Nov 2015 14:50:28 +0000 (+0100) Subject: modutils: fix build error with !DEPMOD X-Git-Tag: 1_25_0~154 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=196e400441652946b9c7ad7bc2d78c73885f2359;p=oweals%2Fbusybox.git modutils: fix build error with !DEPMOD Signed-off-by: Denys Vlasenko --- 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 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; }