diff options
author | kris <kris@FreeBSD.org> | 1999-07-10 05:46:44 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 1999-07-10 05:46:44 +0000 |
commit | aed1b7655126729facf9a47ca2ac99bdecf63369 (patch) | |
tree | 11788b2844b934678b707b98b8db4d654a3fbe95 /bin/cp | |
parent | 34098f71f949273bcbc846942a19fa8e87497849 (diff) | |
download | FreeBSD-src-aed1b7655126729facf9a47ca2ac99bdecf63369.zip FreeBSD-src-aed1b7655126729facf9a47ca2ac99bdecf63369.tar.gz |
Add -W and fix the warning due to missing struct initializer
Diffstat (limited to 'bin/cp')
-rw-r--r-- | bin/cp/Makefile | 4 | ||||
-rw-r--r-- | bin/cp/cp.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/cp/Makefile b/bin/cp/Makefile index f4ca4d2..1ea50c9 100644 --- a/bin/cp/Makefile +++ b/bin/cp/Makefile @@ -1,8 +1,8 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 -# $Id: Makefile,v 1.4 1997/02/22 14:01:32 peter Exp $ +# $Id: Makefile,v 1.5 1998/11/14 23:43:11 wosch Exp $ PROG= cp SRCS= cp.c utils.c -CFLAGS+= -DVM_AND_BUFFER_CACHE_SYNCHRONIZED +CFLAGS+= -W -DVM_AND_BUFFER_CACHE_SYNCHRONIZED .include <bsd.prog.mk> 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; |