From owner-freebsd-audit Sat Jun 23 16:25: 9 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 C2C0D37B405 for ; Sat, 23 Jun 2001 16:25:06 -0700 (PDT) (envelope-from mike@coffee.q9media.com) Received: (from mike@localhost) by coffee.q9media.com (8.11.2/8.11.2) id f5NNblC89760; Sat, 23 Jun 2001 19:37:47 -0400 (EDT) (envelope-from mike) Date: Sat, 23 Jun 2001 19:37:47 -0400 (EDT) Message-Id: <200106232337.f5NNblC89760@coffee.q9media.com> To: audit@FreeBSD.org From: Mike Barcroft Subject: src/usr.sbin/boot98cfg 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/boot98cfg.20010623.patch Best regards, Mike Barcroft ----------------------------------------------------------------------- boot98cfg.20010623.patch o Silence warning and set WARNS?=2 Index: boot98cfg/Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/boot98cfg/Makefile,v retrieving revision 1.3 diff -u -r1.3 Makefile --- boot98cfg/Makefile 2001/03/26 14:39:36 1.3 +++ boot98cfg/Makefile 2001/06/23 23:14:55 @@ -1,6 +1,7 @@ # $FreeBSD: src/usr.sbin/boot98cfg/Makefile,v 1.3 2001/03/26 14:39:36 ru Exp $ PROG= boot98cfg +WARNS?= 2 MAN= boot98cfg.8 .include Index: boot98cfg/boot98cfg.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/boot98cfg/boot98cfg.c,v retrieving revision 1.1 diff -u -r1.1 boot98cfg.c --- boot98cfg/boot98cfg.c 2000/08/02 10:11:08 1.1 +++ boot98cfg/boot98cfg.c 2001/06/23 23:14:55 @@ -114,7 +114,7 @@ main(int argc, char *argv[]) { char *endptr; - char *iplpath = "/boot/boot0", *menupath = "/boot/boot0.5"; + const char *iplpath = "/boot/boot0", *menupath = "/boot/boot0.5"; char *iplbakpath = NULL, *menubakpath = NULL; char *disk; int B_flag = 0; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message