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;