(mkdir): Use stat, not safe_stat.

This commit is contained in:
Jim Meyering committed 1995-05-13 13:13:04 +00:00
1 parent 5a69bc6e5f
commit b3fc4e375f
1 file changed
+1 -1
+1 -1
View File
@@ -57,7 +57,7 @@ mkdir (dpath, dmode)
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;