aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modutils/modutils.c2
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
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;
}