From owner-freebsd-audit Sat Jun 23 12: 0:38 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 CBBED37B408 for ; Sat, 23 Jun 2001 12:00:27 -0700 (PDT) (envelope-from mike@coffee.q9media.com) Received: (from mike@localhost) by coffee.q9media.com (8.11.2/8.11.2) id f5NJD6p89481; Sat, 23 Jun 2001 15:13:06 -0400 (EDT) (envelope-from mike) Date: Sat, 23 Jun 2001 15:13:06 -0400 (EDT) Message-Id: <200106231913.f5NJD6p89481@coffee.q9media.com> To: audit@FreeBSD.org From: Mike Barcroft Subject: src/usr.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 commit the patch at the end of this message. Also available at: http://testbed.q9media.net/freebsd/usr.sbin.20010623.patch It seems src/usr.sbin is in worse shape than src/usr.bin with regards to compiler warnings. Again, this patch should probably be tested on an alpha before committing. Best regards, Mike Barcroft ----------------------------------------------------------------------- usr.sbin.20010623.patch o Set WARNS?=2 on Makefiles that should have it. o Tested on i386; alpha might have additional warnings. Index: usr.sbin/accton/Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/accton/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- usr.sbin/accton/Makefile 2001/03/26 14:39:16 1.4 +++ usr.sbin/accton/Makefile 2001/06/23 18:50:44 @@ -2,6 +2,7 @@ # $FreeBSD: src/usr.sbin/accton/Makefile,v 1.4 2001/03/26 14:39:16 ru Exp $ PROG= accton +WARNS?= 2 MAN= accton.8 .include Index: usr.sbin/dev_mkdb/Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/dev_mkdb/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- usr.sbin/dev_mkdb/Makefile 2001/03/26 14:39:50 1.4 +++ usr.sbin/dev_mkdb/Makefile 2001/06/23 18:50:47 @@ -2,6 +2,7 @@ # $FreeBSD: src/usr.sbin/dev_mkdb/Makefile,v 1.4 2001/03/26 14:39:50 ru Exp $ PROG= dev_mkdb +WARNS?= 2 MAN= dev_mkdb.8 .include Index: usr.sbin/digictl/Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/digictl/Makefile,v retrieving revision 1.3 diff -u -r1.3 Makefile --- usr.sbin/digictl/Makefile 2001/05/17 01:42:52 1.3 +++ usr.sbin/digictl/Makefile 2001/06/23 18:50:47 @@ -1,6 +1,7 @@ # $FreeBSD: src/usr.sbin/digictl/Makefile,v 1.3 2001/05/17 01:42:52 brian Exp $ PROG= digictl +WARNS?= 2 MAN= digictl.8 .include Index: usr.sbin/lastlogin/Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/lastlogin/Makefile,v retrieving revision 1.3 diff -u -r1.3 Makefile --- usr.sbin/lastlogin/Makefile 2001/03/26 14:40:33 1.3 +++ usr.sbin/lastlogin/Makefile 2001/06/23 18:50:48 @@ -1,7 +1,7 @@ # $FreeBSD: src/usr.sbin/lastlogin/Makefile,v 1.3 2001/03/26 14:40:33 ru Exp $ PROG= lastlogin +WARNS?= 2 MAN= lastlogin.8 -CFLAGS+=-Wall .include Index: usr.sbin/procctl/Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/procctl/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- usr.sbin/procctl/Makefile 2001/03/26 14:41:30 1.6 +++ usr.sbin/procctl/Makefile 2001/06/23 18:50:53 @@ -1,6 +1,7 @@ # $FreeBSD: src/usr.sbin/procctl/Makefile,v 1.6 2001/03/26 14:41:30 ru Exp $ PROG= procctl +WARNS?= 2 MAN= procctl.8 .include Index: usr.sbin/rip6query/Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/rip6query/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- usr.sbin/rip6query/Makefile 2001/03/26 14:41:41 1.4 +++ usr.sbin/rip6query/Makefile 2001/06/23 18:50:55 @@ -3,6 +3,7 @@ # $FreeBSD: src/usr.sbin/rip6query/Makefile,v 1.4 2001/03/26 14:41:41 ru Exp $ PROG= rip6query +WARNS?= 2 MAN= rip6query.8 CFLAGS+=-DINET6 -I${.CURDIR}/../route6d Index: usr.sbin/usbdevs/Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/usbdevs/Makefile,v retrieving revision 1.8 diff -u -r1.8 Makefile --- usr.sbin/usbdevs/Makefile 2001/05/18 13:41:42 1.8 +++ usr.sbin/usbdevs/Makefile 2001/06/23 18:50:58 @@ -2,6 +2,7 @@ # FreeBSD $FreeBSD: src/usr.sbin/usbdevs/Makefile,v 1.8 2001/05/18 13:41:42 ru Exp $ PROG= usbdevs +WARNS?= 2 MAN= usbdevs.8 .include To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message