summaryrefslogtreecommitdiff
path: root/usr.sbin/mtree
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-04-06 09:15:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-04-06 09:15:31 +0000
commitce2658e24df3c7c73249b0d92d85e43a52548420 (patch)
tree81a489498c68e43a4e6dbd2b4499d48e57aa7fce /usr.sbin/mtree
parent9f09cc7a50a0c595c2f5b8f8df7cd1243998c48d (diff)
16 bit uids suck
Diffstat (limited to 'usr.sbin/mtree')
-rw-r--r--usr.sbin/mtree/create.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/usr.sbin/mtree/create.c b/usr.sbin/mtree/create.c
index 61b9d03de18..80afaaf830b 100644
--- a/usr.sbin/mtree/create.c
+++ b/usr.sbin/mtree/create.c
@@ -1,5 +1,5 @@
/* $NetBSD: create.c,v 1.11 1996/09/05 09:24:19 mycroft Exp $ */
-/* $OpenBSD: create.c,v 1.5 1997/01/03 21:40:49 millert Exp $ */
+/* $OpenBSD: create.c,v 1.6 1997/04/06 09:15:30 deraadt Exp $ */
/*-
* Copyright (c) 1989, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)create.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: create.c,v 1.5 1997/01/03 21:40:49 millert Exp $";
+static char rcsid[] = "$OpenBSD: create.c,v 1.6 1997/04/06 09:15:30 deraadt Exp $";
#endif
#endif /* not lint */
@@ -232,7 +232,12 @@ statd(t, parent, puid, pgid, pmode)
gid_t savegid = *pgid;
uid_t saveuid = *puid;
mode_t savemode = *pmode;
- u_short maxgid, maxuid, maxmode, g[MAXGID], u[MAXUID], m[MAXMODE];
+ int maxgid;
+ int maxuid;
+ u_short maxmode;
+ gid_t g[MAXGID];
+ uid_t u[MAXUID];
+ mode_t m[MAXMODE];
static int first = 1;
if ((p = fts_children(t, 0)) == NULL) {