From 5b08c79d8e0a76f54c5c8987d4c67a01b14a3c23 Mon Sep 17 00:00:00 2001 From: andersen Date: Tue, 6 Apr 2004 12:05:04 +0000 Subject: Michael Tokarev, mjt at tls dot msk dot ru writes: alias 'off' parsing fix. It is not alias off module it is alias module off git-svn-id: svn://busybox.net/trunk/busybox@8699 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- modutils/modprobe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modutils/modprobe.c b/modutils/modprobe.c index 2b90eb019..7078af220 100644 --- a/modutils/modprobe.c +++ b/modutils/modprobe.c @@ -315,7 +315,7 @@ static struct dep_t *build_dep ( void ) current-> m_module = bb_xstrdup ( alias ); current-> m_isalias = 1; - if (( strcmp ( alias, "off" ) == 0 ) || ( strcmp ( alias, "null" ) == 0 )) { + if (( strcmp ( mod, "off" ) == 0 ) || ( strcmp ( mod, "null" ) == 0 )) { current-> m_depcnt = 0; current-> m_deparr = 0; } -- cgit v1.2.3-55-g6feb