diff options
-rw-r--r-- | usr.sbin/chroot/Makefile | 2 | ||||
-rw-r--r-- | usr.sbin/chroot/chroot.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/chroot/Makefile b/usr.sbin/chroot/Makefile index 652de79..d28de66 100644 --- a/usr.sbin/chroot/Makefile +++ b/usr.sbin/chroot/Makefile @@ -4,4 +4,6 @@ PROG= chroot MAN= chroot.8 +WARNS?= 2 + .include <bsd.prog.mk> diff --git a/usr.sbin/chroot/chroot.c b/usr.sbin/chroot/chroot.c index 72f10d5..0a3be8e 100644 --- a/usr.sbin/chroot/chroot.c +++ b/usr.sbin/chroot/chroot.c @@ -62,7 +62,7 @@ main(argc, argv) char *argv[]; { int ch; - char *shell; + const char *shell; while ((ch = getopt(argc, argv, "")) != -1) switch(ch) { |