mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
modutils: fix build error with !DEPMOD
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
48dc80bbba
commit
196e400441
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user