diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-09-01 11:16:22 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-09-01 11:16:22 +0200 |
commit | ef15970d7ec904eb33ab572abc5de1f51b7e1cfa (patch) | |
tree | aa790e1e462f4aebba74dd18c96625f4395148de /runit | |
parent | 76d72376e0244a5cafd4880cdc623e37d86a75e4 (diff) | |
download | busybox-w32-ef15970d7ec904eb33ab572abc5de1f51b7e1cfa.tar.gz busybox-w32-ef15970d7ec904eb33ab572abc5de1f51b7e1cfa.tar.bz2 busybox-w32-ef15970d7ec904eb33ab572abc5de1f51b7e1cfa.zip |
*: placate some compile warnings on OSX
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'runit')
-rw-r--r-- | runit/runsvdir.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) | |||
181 | continue; | 181 | continue; |
182 | /* Do we have this service listed already? */ | 182 | /* Do we have this service listed already? */ |
183 | for (i = 0; i < svnum; i++) { | 183 | for (i = 0; i < svnum; i++) { |
184 | if ((sv[i].ino == s.st_ino) | 184 | if (sv[i].ino == s.st_ino |
185 | #if CHECK_DEVNO_TOO | 185 | #if CHECK_DEVNO_TOO |
186 | && (sv[i].dev == s.st_dev) | 186 | && sv[i].dev == s.st_dev |
187 | #endif | 187 | #endif |
188 | ) { | 188 | ) { |
189 | if (sv[i].pid == 0) /* restart if it has died */ | 189 | if (sv[i].pid == 0) /* restart if it has died */ |