diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2004-04-06 12:05:04 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2004-04-06 12:05:04 +0000 |
commit | 5b08c79d8e0a76f54c5c8987d4c67a01b14a3c23 (patch) | |
tree | e72ddd40b2f759e54e205612af5636cf1535cff4 | |
parent | 0f7d540a96e9594d8bb84a101d5822d20592427e (diff) | |
download | busybox-w32-5b08c79d8e0a76f54c5c8987d4c67a01b14a3c23.tar.gz busybox-w32-5b08c79d8e0a76f54c5c8987d4c67a01b14a3c23.tar.bz2 busybox-w32-5b08c79d8e0a76f54c5c8987d4c67a01b14a3c23.zip |
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
-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 2b90eb019..7078af220 100644 --- a/modutils/modprobe.c +++ b/modutils/modprobe.c | |||
@@ -315,7 +315,7 @@ static struct dep_t *build_dep ( void ) | |||
315 | current-> m_module = bb_xstrdup ( alias ); | 315 | current-> m_module = bb_xstrdup ( alias ); |
316 | current-> m_isalias = 1; | 316 | current-> m_isalias = 1; |
317 | 317 | ||
318 | if (( strcmp ( alias, "off" ) == 0 ) || ( strcmp ( alias, "null" ) == 0 )) { | 318 | if (( strcmp ( mod, "off" ) == 0 ) || ( strcmp ( mod, "null" ) == 0 )) { |
319 | current-> m_depcnt = 0; | 319 | current-> m_depcnt = 0; |
320 | current-> m_deparr = 0; | 320 | current-> m_deparr = 0; |
321 | } | 321 | } |