aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/chroot
diff options
context:
space:
mode:
authorMike Heffner <mikeh@FreeBSD.org>2001-12-09 21:56:31 +0000
committerMike Heffner <mikeh@FreeBSD.org>2001-12-09 21:56:31 +0000
commit408d219e0abe383e09542eff21416e13ab158b34 (patch)
tree642a9257a83074df1edc6ffac9a36d8e51692ca0 /usr.sbin/chroot
parentc7534558bca38a65235d647a72fc8cf4f621d46d (diff)
downloadsrc-408d219e0abe383e09542eff21416e13ab158b34.tar.gz
src-408d219e0abe383e09542eff21416e13ab158b34.zip
WARNS=2 cleanup.
Submitted by: Maxime Henrion <mux@qualys.com> MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=87579
Diffstat (limited to 'usr.sbin/chroot')
-rw-r--r--usr.sbin/chroot/Makefile2
-rw-r--r--usr.sbin/chroot/chroot.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/chroot/Makefile b/usr.sbin/chroot/Makefile
index 652de797cec4..d28de6668e26 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 72f10d5249fb..0a3be8ef3d23 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) {