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 /procps/fuser.c | |
parent | 634b0221088680153f4abe18db0504fda75a6d86 (diff) |
fuser: a now, the corrected fix (vda botched previous one)
Diffstat (limited to 'procps/fuser.c')
-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) pid_t pid; pid_list *plist; + xchdir("/proc"); d = opendir("/proc"); if (!d) return NULL; |