Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2001 22:48:36 -0400 (EDT)
From:      Mike Barcroft <mike@q9media.com>
To:        audit@FreeBSD.org
Cc:        Dima Dorfman <dima@unixfreak.org>
Subject:   src/sbin warns patch
Message-ID:  <200106290248.f5T2maZ97897@coffee.q9media.com>

next in thread | raw e-mail | index | archive | help
I would appreciate it if someone would review and commit the patch
at the end of this message.  Also available at:
http://testbed.q9media.net/freebsd/sbin.20010628.patch

This patch needs to be tested on an Alpha before committing.  This
patch has also been tested with -fno-builtin.

Best regards,
Mike Barcroft

-----------------------------------------------------------------------

sbin.20010628.patch

o Set WARNS?=2 on Makefiles that should have it.
o Tested on i386; alpha might have additional warnings.


Index: clri/Makefile
===================================================================
RCS file: /home/ncvs/src/sbin/clri/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- clri/Makefile	2001/03/26 14:32:58	1.4
+++ clri/Makefile	2001/06/29 02:03:23
@@ -2,6 +2,7 @@
 # $FreeBSD: src/sbin/clri/Makefile,v 1.4 2001/03/26 14:32:58 ru Exp $
 
 PROG=	clri
+WARNS?=	2
 MAN=	clri.8
 
 .include <bsd.prog.mk>
Index: dumpfs/Makefile
===================================================================
RCS file: /home/ncvs/src/sbin/dumpfs/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- dumpfs/Makefile	2001/03/26 14:33:00	1.4
+++ dumpfs/Makefile	2001/06/29 02:03:23
@@ -2,6 +2,7 @@
 # $FreeBSD: src/sbin/dumpfs/Makefile,v 1.4 2001/03/26 14:33:00 ru Exp $
 
 PROG=	dumpfs
+WARNS?=	2
 MAN=	dumpfs.8
 
 .include <bsd.prog.mk>
Index: kldload/Makefile
===================================================================
RCS file: /home/ncvs/src/sbin/kldload/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- kldload/Makefile	2001/05/18 13:41:26	1.7
+++ kldload/Makefile	2001/06/29 02:03:23
@@ -27,6 +27,7 @@
 #
 
 PROG=	kldload
+WARNS?=	2
 MAN=	kldload.8
 
 .include <bsd.prog.mk>
Index: kldstat/Makefile
===================================================================
RCS file: /home/ncvs/src/sbin/kldstat/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- kldstat/Makefile	2001/05/18 13:41:26	1.7
+++ kldstat/Makefile	2001/06/29 02:03:23
@@ -27,6 +27,7 @@
 #
 
 PROG=	kldstat
+WARNS?=	2
 MAN=	kldstat.8
 
 .include <bsd.prog.mk>
Index: spppcontrol/Makefile
===================================================================
RCS file: /home/ncvs/src/sbin/spppcontrol/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- spppcontrol/Makefile	2001/03/26 14:33:25	1.4
+++ spppcontrol/Makefile	2001/06/29 02:03:23
@@ -1,6 +1,7 @@
 # $FreeBSD: src/sbin/spppcontrol/Makefile,v 1.4 2001/03/26 14:33:25 ru Exp $
 
 PROG=	spppcontrol
+WARNS?=	2
 MAN=	spppcontrol.8
 
 .include <bsd.prog.mk>
Index: swapon/Makefile
===================================================================
RCS file: /home/ncvs/src/sbin/swapon/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- swapon/Makefile	2001/03/26 14:33:25	1.4
+++ swapon/Makefile	2001/06/29 02:03:23
@@ -2,6 +2,7 @@
 # $FreeBSD: src/sbin/swapon/Makefile,v 1.4 2001/03/26 14:33:25 ru Exp $
 
 PROG=	swapon
+WARNS?=	2
 MAN=	swapon.8
 
 .include <bsd.prog.mk>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-audit" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106290248.f5T2maZ97897>