summaryrefslogtreecommitdiff
path: root/bin/cp/cp.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-04-25 15:41:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-04-25 15:41:08 +0000
commit462a5b31673474830f69aabd0be0329cb05b4c0a (patch)
treed96e41dfb2c649d07bd08eeca30ae98cce83b1b8 /bin/cp/cp.c
parent88a093d815fbf2e2a4bdbb7dd0875a9017f5397b (diff)
various small lint cleanups; ok otto
Diffstat (limited to 'bin/cp/cp.c')
-rw-r--r--bin/cp/cp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/cp/cp.c b/bin/cp/cp.c
index ebeec1e9fa6..144c7a047e2 100644
--- a/bin/cp/cp.c
+++ b/bin/cp/cp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cp.c,v 1.31 2006/03/17 23:05:32 otto Exp $ */
+/* $OpenBSD: cp.c,v 1.32 2006/04/25 15:41:07 deraadt Exp $ */
/* $NetBSD: cp.c,v 1.14 1995/09/07 06:14:51 jtc Exp $ */
/*
@@ -43,7 +43,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)cp.c 8.5 (Berkeley) 4/29/95";
#else
-static char rcsid[] = "$OpenBSD: cp.c,v 1.31 2006/03/17 23:05:32 otto Exp $";
+static char rcsid[] = "$OpenBSD: cp.c,v 1.32 2006/04/25 15:41:07 deraadt Exp $";
#endif
#endif /* not lint */
@@ -86,7 +86,7 @@ PATH_T to = { to.p_path, "" };
uid_t myuid;
int Rflag, fflag, iflag, pflag, rflag;
-int myumask;
+mode_t myumask;
enum op { FILE_TO_FILE, FILE_TO_DIR, DIR_TO_DNE };