From: Jim Meyering Date: Tue, 20 Dec 1994 04:49:55 +0000 (+0000) Subject: (dir_ok): Use safe_stat instead of SAFE_STAT. X-Git-Tag: textutils-1_12_1~379 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bb705c7c3e5e12dd888181ce9e2a099393c5736a;p=thirdparty%2Fcoreutils.git (dir_ok): Use safe_stat instead of SAFE_STAT. --- diff --git a/src/pathchk.c b/src/pathchk.c index 774620f3a5..05974c6fd3 100644 --- a/src/pathchk.c +++ b/src/pathchk.c @@ -212,7 +212,7 @@ dir_ok (path) { struct stat stats; - if (SAFE_STAT (path, &stats)) + if (safe_stat (path, &stats)) return 2; if (!S_ISDIR (stats.st_mode))