diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-28 14:57:58 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-28 14:57:58 +0000 |
commit | cd9d4c85a41e0efe7af615f9a8009af9ceee25d9 (patch) | |
tree | 5f257bd83e6751419da79f1ddc56203a9205bdca | |
parent | 634b0221088680153f4abe18db0504fda75a6d86 (diff) | |
download | busybox-w32-cd9d4c85a41e0efe7af615f9a8009af9ceee25d9.tar.gz busybox-w32-cd9d4c85a41e0efe7af615f9a8009af9ceee25d9.tar.bz2 busybox-w32-cd9d4c85a41e0efe7af615f9a8009af9ceee25d9.zip |
fuser: a now, the corrected fix (vda botched previous one)
-rw-r--r-- | procps/fuser.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/procps/fuser.c b/procps/fuser.c index 663abe478..55f7917a0 100644 --- a/procps/fuser.c +++ b/procps/fuser.c | |||
@@ -216,6 +216,7 @@ static pid_list *scan_proc_pids(inode_list *ilist) | |||
216 | pid_t pid; | 216 | pid_t pid; |
217 | pid_list *plist; | 217 | pid_list *plist; |
218 | 218 | ||
219 | xchdir("/proc"); | ||
219 | d = opendir("/proc"); | 220 | d = opendir("/proc"); |
220 | if (!d) | 221 | if (!d) |
221 | return NULL; | 222 | return NULL; |