summaryrefslogtreecommitdiff
path: root/bin/chmod
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/chmod
parent0c922cc2c28276924487216037e2951d00ac584f (diff)
setmode(3) returns void *, not mode_t *. ok millert@
Diffstat (limited to 'bin/chmod')
-rw-r--r--bin/chmod/chmod.c6
1 files changed, 3 insertions, 3 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;