From 65ad0f0162068f8ace1d27e2818a749f8b85104f Mon Sep 17 00:00:00 2001 From: dd Date: Sun, 24 Jun 2001 18:51:40 +0000 Subject: Constify and set WARNS=2. Submitted by: Mike Barcroft Reviewed by: md5(1) --- usr.sbin/boot98cfg/Makefile | 1 + usr.sbin/boot98cfg/boot98cfg.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/boot98cfg') diff --git a/usr.sbin/boot98cfg/Makefile b/usr.sbin/boot98cfg/Makefile index efeb402..6d8441a 100644 --- a/usr.sbin/boot98cfg/Makefile +++ b/usr.sbin/boot98cfg/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ PROG= boot98cfg +WARNS?= 2 MAN= boot98cfg.8 .include diff --git a/usr.sbin/boot98cfg/boot98cfg.c b/usr.sbin/boot98cfg/boot98cfg.c index 85a817d..bd4305b 100644 --- a/usr.sbin/boot98cfg/boot98cfg.c +++ b/usr.sbin/boot98cfg/boot98cfg.c @@ -114,7 +114,7 @@ int 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; -- cgit v1.1