projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba05e79
)
Michael Tokarev, mjt at tls dot msk dot ru writes:
author
Eric Andersen
<andersen@codepoet.org>
Tue, 6 Apr 2004 12:05:04 +0000
(12:05 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Tue, 6 Apr 2004 12:05:04 +0000
(12:05 -0000)
alias 'off' parsing fix.
It is not
alias off module
it is
alias module off
modutils/modprobe.c
patch
|
blob
|
history
diff --git
a/modutils/modprobe.c
b/modutils/modprobe.c
index 2b90eb0198180bc0712a9fac2b3b0cbef98ee4a9..7078af22069ef689342b2b6c69c81ed60106262c 100644
(file)
--- 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;
}