summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2002-07-11 08:45:38 +0000
committersheldonh <sheldonh@FreeBSD.org>2002-07-11 08:45:38 +0000
commitaa9de7efaeac14145ea4874f781d93b5545f9548 (patch)
tree95af1554c930ece9e942cf4f9ae9f09c03e9eb38
parentcfe10c5fa08af21fd6663198e2a3ceed2ccc8b2e (diff)
downloadFreeBSD-src-aa9de7efaeac14145ea4874f781d93b5545f9548.zip
FreeBSD-src-aa9de7efaeac14145ea4874f781d93b5545f9548.tar.gz
Set WFORMAT=0, because our compiler currently complains about NULL
arg 2 to err() and friends, and warnings are promoted to errors. This allows the following revisions to be reverted: rev 1.39 src/bin/cp/cp.c rev 1.26 src/bin/chmod/chmod.c rev 1.40 src/bin/rm/rm.c The following revisions can already be reverted, because they were already covered by WFORMAT=0: rev 1.8 src/bin/ls/lomac.c rev 1.63 src/bin/ls/ls.c rev 1.8 src/bin/ps/lomac.c rev 1.34 src/bin/rcp/rcp.c
-rw-r--r--bin/chmod/Makefile1
-rw-r--r--bin/cp/Makefile1
-rw-r--r--bin/rm/Makefile1
3 files changed, 3 insertions, 0 deletions
diff --git a/bin/chmod/Makefile b/bin/chmod/Makefile
index 71006d0..34203ff 100644
--- a/bin/chmod/Makefile
+++ b/bin/chmod/Makefile
@@ -2,5 +2,6 @@
# $FreeBSD$
PROG= chmod
+WFORMAT=0
.include <bsd.prog.mk>
diff --git a/bin/cp/Makefile b/bin/cp/Makefile
index 9180efe..a1df392 100644
--- a/bin/cp/Makefile
+++ b/bin/cp/Makefile
@@ -4,5 +4,6 @@
PROG= cp
SRCS= cp.c utils.c
CFLAGS+= -DVM_AND_BUFFER_CACHE_SYNCHRONIZED
+WFORMAT=0
.include <bsd.prog.mk>
diff --git a/bin/rm/Makefile b/bin/rm/Makefile
index 7b85cdf..a63cabe 100644
--- a/bin/rm/Makefile
+++ b/bin/rm/Makefile
@@ -3,6 +3,7 @@
PROG= rm
SRCS= rm.c
+WFORMAT=0
LINKS= ${BINDIR}/rm ${BINDIR}/unlink
MLINKS= rm.1 unlink.1
OpenPOWER on IntegriCloud