changeset 431:a13a90e8681b

(rmdir): Use stat, not safe_stat.
author Jim Meyering <jim@meyering.net>
date Sat, 13 May 1995 13:20:19 +0000
parents 54d04d60f9f2
children a56993d69333
files lib/rmdir.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/rmdir.c
+++ b/lib/rmdir.c
@@ -49,7 +49,7 @@
   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))