From: Guillem Jover Date: Wed, 12 Oct 2011 21:31:25 +0000 (+0200) Subject: fuser: Use correct WITH_TIMEOUT_STAT to conditionalize timeout() X-Git-Tag: v22.17~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e3b3b13f8578837b2815b6c47853dd539beb23d1;p=psmisc fuser: Use correct WITH_TIMEOUT_STAT to conditionalize timeout() Signed-off-by: Guillem Jover --- diff --git a/src/fuser.c b/src/fuser.c index e4081eb..0c6199e 100644 --- a/src/fuser.c +++ b/src/fuser.c @@ -1783,7 +1783,7 @@ scan_swaps(struct names *names_head, struct inode_list *ino_head, * Execute stat(2) system call with timeout to avoid deadlock * on network based file systems. */ -#ifdef HAVE_TIMEOUT_STAT +#ifdef WITH_TIMEOUT_STAT static sigjmp_buf jenv; @@ -1843,7 +1843,7 @@ timeout(stat_t func, const char *path, struct stat *buf, unsigned int seconds) err: return -1; } -#endif /* HAVE_TIMEOUT_STAT */ +#endif /* WITH_TIMEOUT_STAT */ #ifdef _LISTS_H /*