From owner-freebsd-audit Thu Jun 28 19:35:10 2001 Delivered-To: freebsd-audit@freebsd.org Received: from coffee.q9media.com (coffee.q9media.com [216.94.229.19]) by hub.freebsd.org (Postfix) with ESMTP id BF8C537B405 for ; Thu, 28 Jun 2001 19:35:04 -0700 (PDT) (envelope-from mike@coffee.q9media.com) Received: (from mike@localhost) by coffee.q9media.com (8.11.2/8.11.2) id f5T2maZ97897; Thu, 28 Jun 2001 22:48:36 -0400 (EDT) (envelope-from mike) Date: Thu, 28 Jun 2001 22:48:36 -0400 (EDT) Message-Id: <200106290248.f5T2maZ97897@coffee.q9media.com> To: audit@FreeBSD.org From: Mike Barcroft Cc: Dima Dorfman Subject: src/sbin warns patch Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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 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 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 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 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message