(rmdir): Use stat, not safe_stat.

This commit is contained in:
Jim Meyering committed 1995-05-13 13:20:19 +00:00
1 parent eec5824b1a
commit 8a7a1fda12
1 file changed
+1 -1
+1 -1
View File
@@ -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))