summaryrefslogtreecommitdiffstats
path: root/bin/cp/cp.c
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>1999-07-10 05:46:44 +0000
committerkris <kris@FreeBSD.org>1999-07-10 05:46:44 +0000
commitaed1b7655126729facf9a47ca2ac99bdecf63369 (patch)
tree11788b2844b934678b707b98b8db4d654a3fbe95 /bin/cp/cp.c
parent34098f71f949273bcbc846942a19fa8e87497849 (diff)
downloadFreeBSD-src-aed1b7655126729facf9a47ca2ac99bdecf63369.zip
FreeBSD-src-aed1b7655126729facf9a47ca2ac99bdecf63369.tar.gz
Add -W and fix the warning due to missing struct initializer
Diffstat (limited to 'bin/cp/cp.c')
-rw-r--r--bin/cp/cp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/cp/cp.c b/bin/cp/cp.c
index e873d4d..524d2e5 100644
--- a/bin/cp/cp.c
+++ b/bin/cp/cp.c
@@ -45,7 +45,7 @@ static char const copyright[] =
static char sccsid[] = "@(#)cp.c 8.2 (Berkeley) 4/1/94";
#endif
static const char rcsid[] =
- "$Id: cp.c,v 1.18 1999/04/25 21:13:32 imp Exp $";
+ "$Id: cp.c,v 1.19 1999/05/08 10:19:27 kris Exp $";
#endif /* not lint */
/*
@@ -79,7 +79,7 @@ static const char rcsid[] =
*--(p).p_end = 0; \
}
-PATH_T to = { to.p_path, "" };
+PATH_T to = { to.p_path, "", "" };
uid_t myuid;
int Rflag, iflag, pflag, rflag, fflag;
OpenPOWER on IntegriCloud