diff options
author | Jim Meyering <jim@meyering.net> | 1995-05-13 13:20:19 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-05-13 13:20:19 +0000 |
commit | 8a7a1fda12f30dd82b62a72aa6345f3a7cf5af94 (patch) | |
tree | 7ebf6dd33e0e60f031d183cc125dbfcd9c0f4609 | |
parent | eec5824b1abea623b535e322d4d20594ccf2c245 (diff) | |
download | coreutils-8a7a1fda12f30dd82b62a72aa6345f3a7cf5af94.tar.xz |
(rmdir): Use stat, not safe_stat.
-rw-r--r-- | lib/rmdir.c | 2 |
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)) |