summaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorEric Andersen2004-04-06 12:05:04 +0000
committerEric Andersen2004-04-06 12:05:04 +0000
commitd298bd1d513ddf077c51df5f0dfb3a5b2d0c28ee (patch)
treee72ddd40b2f759e54e205612af5636cf1535cff4 /modutils
parentba05e79815df6d521c39ce7d2dd7e495ccb6ef48 (diff)
downloadbusybox-d298bd1d513ddf077c51df5f0dfb3a5b2d0c28ee.zip
busybox-d298bd1d513ddf077c51df5f0dfb3a5b2d0c28ee.tar.gz
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
Diffstat (limited to 'modutils')
-rw-r--r--modutils/modprobe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/modprobe.c b/modutils/modprobe.c
index 2b90eb0..7078af2 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;
}