summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pathchk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathchk.c b/src/pathchk.c
index 774620f3a..05974c6fd 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))