diff options
author | Denis Vlasenko | 2007-11-06 11:34:03 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-11-06 11:34:03 +0000 |
commit | cb12cb240714f2599addd4ec61ef336ab87482cd (patch) | |
tree | eb218e0c85ceb81753cb3a27535b93069d4ebb7a /modutils | |
parent | 52816302299854ba1644fce98b5d19db526e6c29 (diff) | |
download | busybox-cb12cb240714f2599addd4ec61ef336ab87482cd.zip busybox-cb12cb240714f2599addd4ec61ef336ab87482cd.tar.gz |
modprobe: fix a bug where we were entering endless loop
syslogd: strip trailing '\n' too, not only NULs
Diffstat (limited to 'modutils')
-rw-r--r-- | modutils/modprobe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/modprobe.c b/modutils/modprobe.c index f7d193a..dafbb4e 100644 --- a/modutils/modprobe.c +++ b/modutils/modprobe.c @@ -791,7 +791,7 @@ static void check_dep(char *mod, struct mod_list_t **head, struct mod_list_t **t if (*tail) (*tail)->m_next = find; find->m_prev = *tail; - /*find->m_next = NULL; - xzalloc did it */ + find->m_next = NULL; /* possibly NOT done by xzalloc! */ if (!*head) *head = find; |