summaryrefslogtreecommitdiff
path: root/debianutils
diff options
context:
space:
mode:
authorDenis Vlasenko2008-04-22 00:16:29 +0000
committerDenis Vlasenko2008-04-22 00:16:29 +0000
commit1f228985b27602f94ff973d50e276220887df6a3 (patch)
tree5715edba638603b3815dc8700c88c2c0395b2b16 /debianutils
parent5d89fbaa2e00a8a26e530306d76b78bf91d12ec8 (diff)
downloadbusybox-1f228985b27602f94ff973d50e276220887df6a3.zip
busybox-1f228985b27602f94ff973d50e276220887df6a3.tar.gz
whitespace fixes. no code changes
Diffstat (limited to 'debianutils')
-rw-r--r--debianutils/start_stop_daemon.c22
1 files changed, 11 insertions, 11 deletions
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)