From 1f228985b27602f94ff973d50e276220887df6a3 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 22 Apr 2008 00:16:29 +0000 Subject: whitespace fixes. no code changes --- debianutils/start_stop_daemon.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'debianutils') diff --git a/debianutils/start_stop_daemon.c b/debianutils/start_stop_daemon.c index 7a0d116..4e816bd 100644 --- a/debianutils/start_stop_daemon.c +++ b/debianutils/start_stop_daemon.c @@ -142,18 +142,18 @@ static void do_procinit(void) procdir = xopendir("/proc"); pid = 0; - while(1) { - errno = 0; /* clear any previous error */ - entry = readdir(procdir); + while(1) { + errno = 0; /* clear any previous error */ + entry = readdir(procdir); // TODO: check for exact errno(s) which mean that we got stale entry - if (errno) /* Stale entry, process has died after opendir */ - continue; - if (!entry) /* EOF, no more entries */ - break; - pid = bb_strtou(entry->d_name, NULL, 10); - if (errno) /* NaN */ - continue; - check(pid); + if (errno) /* Stale entry, process has died after opendir */ + continue; + if (!entry) /* EOF, no more entries */ + break; + pid = bb_strtou(entry->d_name, NULL, 10); + if (errno) /* NaN */ + continue; + check(pid); } closedir(procdir); if (!pid) -- cgit v1.1