From: Denis Vlasenko Date: Wed, 28 May 2008 14:57:58 +0000 (-0000) Subject: fuser: a now, the corrected fix (vda botched previous one) X-Git-Tag: 1_11_0~155 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cd9d4c85a41e0efe7af615f9a8009af9ceee25d9;p=oweals%2Fbusybox.git fuser: a now, the corrected fix (vda botched previous one) --- 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;