aboutsummaryrefslogtreecommitdiff
path: root/sbin/mdconfig/Makefile
diff options
context:
space:
mode:
authorJaakko Heinonen <jh@FreeBSD.org>2010-01-22 08:51:58 +0000
committerJaakko Heinonen <jh@FreeBSD.org>2010-01-22 08:51:58 +0000
commita4ca6a4926c8de8c821493d1d095fe4fc49482bb (patch)
treec62daf77b9389a37dd1e913d23aab68a5aa64b3a /sbin/mdconfig/Makefile
parente48fbf26e8940e6273461aaa13820ead71d7243c (diff)
downloadsrc-a4ca6a4926c8de8c821493d1d095fe4fc49482bb.tar.gz
src-a4ca6a4926c8de8c821493d1d095fe4fc49482bb.zip
Make mdconfig(8) WARNS=6 clean:
- Constify geom_config_get() name argument. - Add void keyword for usage(). - Initialize mdunit to NULL. - Don't call md_prthumanval() at all if length is NULL. Approved by: trasz (mentor)
Notes
Notes: svn path=/head/; revision=202784
Diffstat (limited to 'sbin/mdconfig/Makefile')
-rw-r--r--sbin/mdconfig/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/sbin/mdconfig/Makefile b/sbin/mdconfig/Makefile
index 11223f228398..f4d8adcfde8d 100644
--- a/sbin/mdconfig/Makefile
+++ b/sbin/mdconfig/Makefile
@@ -4,7 +4,6 @@ PROG= mdconfig
MAN= mdconfig.8
MLINKS= mdconfig.8 vnconfig.8
-WARNS?= 2
DPADD= ${LIBUTIL} ${LIBGEOM} ${LIBBSDXML} ${LIBSBUF}
LDADD= -lutil -lgeom -lbsdxml -lsbuf