summaryrefslogtreecommitdiffstats
path: root/usr.sbin/boot98cfg
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/boot98cfg')
-rw-r--r--usr.sbin/boot98cfg/Makefile1
-rw-r--r--usr.sbin/boot98cfg/boot98cfg.c2
2 files changed, 2 insertions, 1 deletions
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 <bsd.prog.mk>
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;
OpenPOWER on IntegriCloud