summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1994-09-21 22:34:38 +0000
committerbde <bde@FreeBSD.org>1994-09-21 22:34:38 +0000
commit39056852b1268ee1b08ecdae7397cff08940ad3d (patch)
treebf318b8cddb24c08985de2d96f45556af6c09906 /bin
parentc7b1379cc8ba65cc3b2f4d292d96c22a7888acd3 (diff)
downloadFreeBSD-src-39056852b1268ee1b08ecdae7397cff08940ad3d.zip
FreeBSD-src-39056852b1268ee1b08ecdae7397cff08940ad3d.tar.gz
Remove bogus cast that was introduced in the previous commit.
Diffstat (limited to 'bin')
-rw-r--r--bin/mkdir/mkdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mkdir/mkdir.c b/bin/mkdir/mkdir.c
index 083a2af..2f09c3d 100644
--- a/bin/mkdir/mkdir.c
+++ b/bin/mkdir/mkdir.c
@@ -123,7 +123,7 @@ build(path)
char *p;
p = path;
- oumask = (mode_t)NULL;
+ oumask = 0;
if (p[0] == '/') /* Skip leading '/'. */
++p;
for (first = 1;; ++p) {
OpenPOWER on IntegriCloud