diff options
Diffstat (limited to 'libbb/procps.c')
-rw-r--r-- | libbb/procps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/procps.c b/libbb/procps.c index 0d4877cb6..8fd5c1f86 100644 --- a/libbb/procps.c +++ b/libbb/procps.c | |||
@@ -51,7 +51,7 @@ procps_status_t * procps_scan(int save_user_arg0) | |||
51 | struct stat sb; | 51 | struct stat sb; |
52 | 52 | ||
53 | if (!dir) { | 53 | if (!dir) { |
54 | dir = bb_xopendir("/proc"); | 54 | dir = xopendir("/proc"); |
55 | } | 55 | } |
56 | for (;;) { | 56 | for (;;) { |
57 | if ((entry = readdir(dir)) == NULL) { | 57 | if ((entry = readdir(dir)) == NULL) { |