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