aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modutils/modprobe.c2
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 }