summaryrefslogtreecommitdiff
path: root/src/pathchk.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-05-13 02:31:46 +0000
committerJim Meyering <jim@meyering.net>1995-05-13 02:31:46 +0000
commit274e5f86b524492a30af4f7cac38ef71722baf26 (patch)
tree073e8e172149c8bd407d15b2610bd046ca876b9f /src/pathchk.c
parent31faa61270d33d103a88108d4efc6c1b1ca5b0c6 (diff)
downloadcoreutils-274e5f86b524492a30af4f7cac38ef71722baf26.tar.xz
Use l?stat, not safe_l?stat.
Diffstat (limited to 'src/pathchk.c')
-rw-r--r--src/pathchk.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pathchk.c b/src/pathchk.c
index 01e30ea70..c1458f833 100644
--- a/src/pathchk.c
+++ b/src/pathchk.c
@@ -45,7 +45,6 @@
#include "version.h"
#include "system.h"
-#include "safe-stat.h"
#include "error.h"
#ifdef _POSIX_VERSION
@@ -212,7 +211,7 @@ dir_ok (path)
{
struct stat stats;
- if (safe_stat (path, &stats))
+ if (stat (path, &stats))
return 2;
if (!S_ISDIR (stats.st_mode))