From 0e304b485310aa255d61f412edd88d2343080c01 Mon Sep 17 00:00:00 2001 From: Dima Dorfman Date: Sun, 24 Jun 2001 18:51:40 +0000 Subject: [PATCH] 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(-) diff --git a/usr.sbin/boot98cfg/Makefile b/usr.sbin/boot98cfg/Makefile index efeb4027171b..6d8441ad96ae 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 85a817d0ac7d..bd4305bf02ab 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;