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;