summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko2008-05-28 14:57:58 +0000
committerDenis Vlasenko2008-05-28 14:57:58 +0000
commitcd9d4c85a41e0efe7af615f9a8009af9ceee25d9 (patch)
tree5f257bd83e6751419da79f1ddc56203a9205bdca
parent634b0221088680153f4abe18db0504fda75a6d86 (diff)
downloadbusybox-cd9d4c85a41e0efe7af615f9a8009af9ceee25d9.zip
busybox-cd9d4c85a41e0efe7af615f9a8009af9ceee25d9.tar.gz
fuser: a now, the corrected fix (vda botched previous one)
-rw-r--r--procps/fuser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/procps/fuser.c b/procps/fuser.c
index 663abe4..55f7917 100644
--- a/procps/fuser.c
+++ b/procps/fuser.c
@@ -216,6 +216,7 @@ static pid_list *scan_proc_pids(inode_list *ilist)
pid_t pid;
pid_list *plist;
+ xchdir("/proc");
d = opendir("/proc");
if (!d)
return NULL;