aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modutils/modprobe-small.c2
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)
}
fclose(fp);
- return ret | 1;
+ return ret & 1;
}
#else
#define already_loaded(name) 0