summaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
Diffstat (limited to 'modutils')
-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 5989659..ed177bb 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