summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-05-13 13:13:04 +0000
committerJim Meyering <jim@meyering.net>1995-05-13 13:13:04 +0000
commitb3fc4e375fc65173e40a35a3e9168e1668c38ba4 (patch)
treec67e1a210d13dcb48187d73d68fb88f88d4cd90c /lib
parent5a69bc6e5fa05cf5c3ebc2677b43023b857a9a22 (diff)
downloadcoreutils-b3fc4e375fc65173e40a35a3e9168e1668c38ba4.tar.xz
(mkdir): Use stat, not safe_stat.
Diffstat (limited to 'lib')
-rw-r--r--lib/mkdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mkdir.c b/lib/mkdir.c
index 07bd83dea..7908b18b7 100644
--- a/lib/mkdir.c
+++ b/lib/mkdir.c
@@ -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;