summaryrefslogtreecommitdiff
path: root/usr.bin/find
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 /usr.bin/find
parent0c922cc2c28276924487216037e2951d00ac584f (diff)
setmode(3) returns void *, not mode_t *. ok millert@
Diffstat (limited to 'usr.bin/find')
-rw-r--r--usr.bin/find/function.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/find/function.c b/usr.bin/find/function.c
index 569b8d0a763..dbd4a37f044 100644
--- a/usr.bin/find/function.c
+++ b/usr.bin/find/function.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: function.c,v 1.28 2003/06/26 07:27:29 deraadt Exp $ */
+/* $OpenBSD: function.c,v 1.29 2004/07/01 18:25:47 otto Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -34,7 +34,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)function.c 8.1 (Berkeley) 6/6/93";*/
-static char rcsid[] = "$OpenBSD: function.c,v 1.28 2003/06/26 07:27:29 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: function.c,v 1.29 2004/07/01 18:25:47 otto Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -1197,7 +1197,7 @@ PLAN *
c_perm(char *perm, char ***ignored, int unused)
{
PLAN *new;
- mode_t *set;
+ void *set;
ftsoptions &= ~FTS_NOSTAT;