diff options
author | Denis Vlasenko | 2006-10-12 19:29:44 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-10-12 19:29:44 +0000 |
commit | a6dbb08a48903cb8f31fad2cf2d1cffa92bd4808 (patch) | |
tree | f7f2113941a2dc0385080baa7656ead41f45f834 /libbb/procps.c | |
parent | 12f5676cce3b2e04668df3f18f94f1a3c7fdbb9e (diff) | |
download | busybox-a6dbb08a48903cb8f31fad2cf2d1cffa92bd4808.zip busybox-a6dbb08a48903cb8f31fad2cf2d1cffa92bd4808.tar.gz |
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 8fd5c1f..2bcd2cc 100644 --- a/libbb/procps.c +++ b/libbb/procps.c @@ -54,7 +54,8 @@ procps_status_t * procps_scan(int save_user_arg0) dir = xopendir("/proc"); } for (;;) { - if ((entry = readdir(dir)) == NULL) { + entry = readdir(dir); + if (entry == NULL) { closedir(dir); dir = 0; return 0; |