From a3ee32f3f72b616867d19e5abbd1ebd4d3ae1052 Mon Sep 17 00:00:00 2001 From: Sheldon Hearn Date: Thu, 11 Jul 2002 08:45:38 +0000 Subject: [PATCH] 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 --- bin/chmod/Makefile | 1 + bin/cp/Makefile | 1 + bin/rm/Makefile | 1 + 3 files changed, 3 insertions(+) diff --git a/bin/chmod/Makefile b/bin/chmod/Makefile index 71006d00a52..34203fff200 100644 --- a/bin/chmod/Makefile +++ b/bin/chmod/Makefile @@ -2,5 +2,6 @@ # $FreeBSD$ PROG= chmod +WFORMAT=0 .include diff --git a/bin/cp/Makefile b/bin/cp/Makefile index 9180efe26c3..a1df39265cb 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 diff --git a/bin/rm/Makefile b/bin/rm/Makefile index 7b85cdf90fc..a63cabed1f7 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