summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-05-13 13:20:19 +0000
committerJim Meyering <jim@meyering.net>1995-05-13 13:20:19 +0000
commit8a7a1fda12f30dd82b62a72aa6345f3a7cf5af94 (patch)
tree7ebf6dd33e0e60f031d183cc125dbfcd9c0f4609 /lib
parenteec5824b1abea623b535e322d4d20594ccf2c245 (diff)
downloadcoreutils-8a7a1fda12f30dd82b62a72aa6345f3a7cf5af94.tar.xz
(rmdir): Use stat, not safe_stat.
Diffstat (limited to 'lib')
-rw-r--r--lib/rmdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rmdir.c b/lib/rmdir.c
index 23c2873c3..a8c1f49eb 100644
--- a/lib/rmdir.c
+++ b/lib/rmdir.c
@@ -49,7 +49,7 @@ rmdir (dpath)
int cpid, status;
struct stat statbuf;
- if (safe_stat (dpath, &statbuf) != 0)
+ if (stat (dpath, &statbuf) != 0)
return -1; /* errno already set */
if (!S_ISDIR (statbuf.st_mode))