diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-04-22 00:16:29 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-04-22 00:16:29 +0000 |
commit | 1f228985b27602f94ff973d50e276220887df6a3 (patch) | |
tree | 5715edba638603b3815dc8700c88c2c0395b2b16 /debianutils | |
parent | 5d89fbaa2e00a8a26e530306d76b78bf91d12ec8 (diff) |
whitespace fixes. no code changes
Diffstat (limited to 'debianutils')
-rw-r--r-- | debianutils/start_stop_daemon.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/debianutils/start_stop_daemon.c b/debianutils/start_stop_daemon.c index 7a0d1166f..4e816bd19 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) |