summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-04-25 04:39:05 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-04-25 04:39:05 +0000
commit3128965fd7762eef5bc777717e295d4ae2464145 (patch)
tree91c2427b1559bd9284d1d7c38be5700b7b43077b
parent9b71ee110c303e60dbd2acfcaabacabc4ab36e40 (diff)
mode_t is your friend
-rw-r--r--bin/test/test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/test/test.c b/bin/test/test.c
index 932fdba0ee9..255426d9a06 100644
--- a/bin/test/test.c
+++ b/bin/test/test.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: test.c,v 1.8 2003/06/25 21:12:50 deraadt Exp $ */
+/* $OpenBSD: test.c,v 1.9 2006/04/25 04:39:04 deraadt Exp $ */
/* $NetBSD: test.c,v 1.15 1995/03/21 07:04:06 cgd Exp $ */
/*
@@ -12,7 +12,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: test.c,v 1.8 2003/06/25 21:12:50 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: test.c,v 1.9 2006/04/25 04:39:04 deraadt Exp $";
#endif
#include <sys/types.h>
@@ -331,7 +331,7 @@ static int
filstat(char *nm, enum token mode)
{
struct stat s;
- int i;
+ mode_t i;
if (mode == FILSYM) {
#ifdef S_IFLNK