summaryrefslogtreecommitdiff
path: root/bin
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
parent0c922cc2c28276924487216037e2951d00ac584f (diff)
setmode(3) returns void *, not mode_t *. ok millert@
Diffstat (limited to 'bin')
-rw-r--r--bin/chmod/chmod.c6
-rw-r--r--bin/mkdir/mkdir.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/bin/chmod/chmod.c b/bin/chmod/chmod.c
index 1bbc1a93de3..cbb84bc30c8 100644
--- a/bin/chmod/chmod.c
+++ b/bin/chmod/chmod.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: chmod.c,v 1.17 2004/02/16 22:12:02 millert Exp $ */
+/* $OpenBSD: chmod.c,v 1.18 2004/07/01 18:25:47 otto Exp $ */
/* $NetBSD: chmod.c,v 1.12 1995/03/21 09:02:09 cgd Exp $ */
/*
@@ -40,7 +40,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)chmod.c 8.8 (Berkeley) 4/1/94";
#else
-static char rcsid[] = "$OpenBSD: chmod.c,v 1.17 2004/02/16 22:12:02 millert Exp $";
+static char rcsid[] = "$OpenBSD: chmod.c,v 1.18 2004/07/01 18:25:47 otto Exp $";
#endif
#endif /* not lint */
@@ -71,7 +71,7 @@ main(int argc, char *argv[])
{
FTS *ftsp;
FTSENT *p;
- mode_t *set;
+ void *set;
long val;
int oct, omode;
int Hflag, Lflag, Pflag, Rflag, ch, fflag, fts_options, hflag, rval;
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, "");