summaryrefslogtreecommitdiff
path: root/usr.sbin/fdcontrol
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2005-01-08 15:46:06 +0000
committerXin LI <delphij@FreeBSD.org>2005-01-08 15:46:06 +0000
commit4c1f1c62ca07a2fa300a24cb4700980773156eb2 (patch)
treee7b7f4702f5752e13e6128d82e58a62e3c2805f7 /usr.sbin/fdcontrol
parente152198a83e2ec2740914a5f08d883808a4d4a2b (diff)
downloadsrc-test2-4c1f1c62ca07a2fa300a24cb4700980773156eb2.tar.gz
src-test2-4c1f1c62ca07a2fa300a24cb4700980773156eb2.zip
Notes
Diffstat (limited to 'usr.sbin/fdcontrol')
-rw-r--r--usr.sbin/fdcontrol/Makefile2
-rw-r--r--usr.sbin/fdcontrol/fdcontrol.c2
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);