diff options
author | Xin LI <delphij@FreeBSD.org> | 2005-01-08 15:46:06 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2005-01-08 15:46:06 +0000 |
commit | 4c1f1c62ca07a2fa300a24cb4700980773156eb2 (patch) | |
tree | e7b7f4702f5752e13e6128d82e58a62e3c2805f7 /usr.sbin/fdcontrol | |
parent | e152198a83e2ec2740914a5f08d883808a4d4a2b (diff) | |
download | src-test2-4c1f1c62ca07a2fa300a24cb4700980773156eb2.tar.gz src-test2-4c1f1c62ca07a2fa300a24cb4700980773156eb2.zip |
Notes
Diffstat (limited to 'usr.sbin/fdcontrol')
-rw-r--r-- | usr.sbin/fdcontrol/Makefile | 2 | ||||
-rw-r--r-- | usr.sbin/fdcontrol/fdcontrol.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/fdcontrol/Makefile b/usr.sbin/fdcontrol/Makefile index 4696abda1754..e2b54aa06708 100644 --- a/usr.sbin/fdcontrol/Makefile +++ b/usr.sbin/fdcontrol/Makefile @@ -4,7 +4,7 @@ PROG= fdcontrol SRCS= fdcontrol.c fdutil.c -WARNS?= 2 +WARNS?= 6 CFLAGS+= -I${.CURDIR}/../fdread MAN= fdcontrol.8 diff --git a/usr.sbin/fdcontrol/fdcontrol.c b/usr.sbin/fdcontrol/fdcontrol.c index ff0f90bf36e8..559ce020891e 100644 --- a/usr.sbin/fdcontrol/fdcontrol.c +++ b/usr.sbin/fdcontrol/fdcontrol.c @@ -157,7 +157,7 @@ mode = O_RDONLY | O_NONBLOCK; if (showfmt) { if (verbose) { - char *s; + const char *s; printf("%s: %d KB media type\n", argv[0], (128 << ft.secsize) * ft.size / 1024); |