Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jun 2001 19:37:47 -0400 (EDT)
From:      Mike Barcroft <mike@q9media.com>
To:        audit@FreeBSD.org
Subject:   src/usr.sbin/boot98cfg patch
Message-ID:  <200106232337.f5NNblC89760@coffee.q9media.com>

next in thread | raw e-mail | index | archive | help
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 <bsd.prog.mk>
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




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