From ef15970d7ec904eb33ab572abc5de1f51b7e1cfa Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 1 Sep 2016 11:16:22 +0200 Subject: *: placate some compile warnings on OSX Signed-off-by: Denys Vlasenko --- runit/runsvdir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runit') diff --git a/runit/runsvdir.c b/runit/runsvdir.c index 2b7927542..84916e929 100644 --- a/runit/runsvdir.c +++ b/runit/runsvdir.c @@ -181,9 +181,9 @@ static NOINLINE int do_rescan(void) continue; /* Do we have this service listed already? */ for (i = 0; i < svnum; i++) { - if ((sv[i].ino == s.st_ino) + if (sv[i].ino == s.st_ino #if CHECK_DEVNO_TOO - && (sv[i].dev == s.st_dev) + && sv[i].dev == s.st_dev #endif ) { if (sv[i].pid == 0) /* restart if it has died */ -- cgit v1.2.3