summaryrefslogtreecommitdiff
path: root/bin/mkdir/mkdir.c
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2004-07-01 18:25:49 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2004-07-01 18:25:49 +0000
commit0405676ceb04ce85a6dbf0cb4187ecca4cdd1656 (patch)
tree8b6df9b1da46017b7464c87fd92efb9f219101d4 /bin/mkdir/mkdir.c
parent0c922cc2c28276924487216037e2951d00ac584f (diff)
setmode(3) returns void *, not mode_t *. ok millert@
Diffstat (limited to 'bin/mkdir/mkdir.c')
-rw-r--r--bin/mkdir/mkdir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/mkdir/mkdir.c b/bin/mkdir/mkdir.c
index d4a6b4a99dd..9a446e10d48 100644
--- a/bin/mkdir/mkdir.c
+++ b/bin/mkdir/mkdir.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mkdir.c,v 1.16 2003/07/29 00:24:15 deraadt Exp $ */
+/* $OpenBSD: mkdir.c,v 1.17 2004/07/01 18:25:47 otto Exp $ */
/* $NetBSD: mkdir.c,v 1.14 1995/06/25 21:59:21 mycroft Exp $ */
/*
@@ -40,7 +40,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)mkdir.c 8.2 (Berkeley) 1/25/94";
#else
-static char rcsid[] = "$OpenBSD: mkdir.c,v 1.16 2003/07/29 00:24:15 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: mkdir.c,v 1.17 2004/07/01 18:25:47 otto Exp $";
#endif
#endif /* not lint */
@@ -64,7 +64,7 @@ int
main(int argc, char *argv[])
{
int ch, exitval, pflag;
- mode_t *set;
+ void *set;
mode_t mode, dir_mode;
setlocale(LC_ALL, "");