diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-12 19:29:44 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-12 19:29:44 +0000 |
commit | a6dbb08a48903cb8f31fad2cf2d1cffa92bd4808 (patch) | |
tree | f7f2113941a2dc0385080baa7656ead41f45f834 /libbb/procps.c | |
parent | 12f5676cce3b2e04668df3f18f94f1a3c7fdbb9e (diff) | |
download | busybox-w32-a6dbb08a48903cb8f31fad2cf2d1cffa92bd4808.tar.gz busybox-w32-a6dbb08a48903cb8f31fad2cf2d1cffa92bd4808.tar.bz2 busybox-w32-a6dbb08a48903cb8f31fad2cf2d1cffa92bd4808.zip |
small style fixes
Diffstat (limited to 'libbb/procps.c')
-rw-r--r-- | libbb/procps.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbb/procps.c b/libbb/procps.c index 8fd5c1f86..2bcd2cced 100644 --- a/libbb/procps.c +++ b/libbb/procps.c | |||
@@ -54,7 +54,8 @@ procps_status_t * procps_scan(int save_user_arg0) | |||
54 | dir = xopendir("/proc"); | 54 | dir = xopendir("/proc"); |
55 | } | 55 | } |
56 | for (;;) { | 56 | for (;;) { |
57 | if ((entry = readdir(dir)) == NULL) { | 57 | entry = readdir(dir); |
58 | if (entry == NULL) { | ||
58 | closedir(dir); | 59 | closedir(dir); |
59 | dir = 0; | 60 | dir = 0; |
60 | return 0; | 61 | return 0; |