diff --git a/src/zone.c b/src/zone.c
index b8cc9197c2de5eea70990a1e4209b7f284a8d292..cb3869d69829ff04e8f908711faecf435a26602e 100644 (file)
--- a/src/zone.c
+++ b/src/zone.c
return(NULL);
}
return(NULL);
}
- for (rewinddir(procdir); (direntp = readdir(procdir)); ) {
+ rewinddir(procdir);
+ while ((direntp = readdir(procdir))) {
pidstr = direntp->d_name;
if (pidstr[0] == '.') /* skip "." and ".." */
continue;
pidstr = direntp->d_name;
if (pidstr[0] == '.') /* skip "." and ".." */
continue;