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
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}