diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2015-02-13 11:53:33 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2015-02-13 11:53:33 +0100 |
commit | 402afe1cc69ea505c9bf82ffe06e51ffecf694df (patch) | |
tree | 83d2ca101227ff1fa0d3a44da39e4634307d6fb2 /modutils | |
parent | 1fd844267c3ad60e9122e141768e823e6ad74a28 (diff) | |
download | busybox-w32-402afe1cc69ea505c9bf82ffe06e51ffecf694df.tar.gz busybox-w32-402afe1cc69ea505c9bf82ffe06e51ffecf694df.tar.bz2 busybox-w32-402afe1cc69ea505c9bf82ffe06e51ffecf694df.zip |
modprobe-small: fix thinko in previous commit
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils')
-rw-r--r-- | modutils/modprobe-small.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/modprobe-small.c b/modutils/modprobe-small.c index 598965968..ed177bb9b 100644 --- a/modutils/modprobe-small.c +++ b/modutils/modprobe-small.c | |||
@@ -578,7 +578,7 @@ static int already_loaded(const char *name) | |||
578 | } | 578 | } |
579 | fclose(fp); | 579 | fclose(fp); |
580 | 580 | ||
581 | return ret | 1; | 581 | return ret & 1; |
582 | } | 582 | } |
583 | #else | 583 | #else |
584 | #define already_loaded(name) 0 | 584 | #define already_loaded(name) 0 |