From 402afe1cc69ea505c9bf82ffe06e51ffecf694df Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 13 Feb 2015 11:53:33 +0100 Subject: [PATCH] modprobe-small: fix thinko in previous commit Signed-off-by: Denys Vlasenko --- modutils/modprobe-small.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1