changeset 20120:50b44aa48608

(mkdir): Use stat, not safe_stat.
author Jim Meyering <jim@meyering.net>
date Sat, 13 May 1995 13:13:04 +0000
parents 7791fe037b9b
children a0ec137a661b
files lib/mkdir.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/mkdir.c	Sat May 13 13:10:38 1995 +0000
+++ b/lib/mkdir.c	Sat May 13 13:13:04 1995 +0000
@@ -57,7 +57,7 @@
   int cpid, status;
   struct stat statbuf;
 
-  if (safe_stat (dpath, &statbuf) == 0)
+  if (stat (dpath, &statbuf) == 0)
     {
       errno = EEXIST;		/* stat worked, so it already exists.  */
       return -1;