summaryrefslogtreecommitdiff
path: root/usr/src/cmd/vscan
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2012-07-22 16:03:46 -0400
committerRichard Lowe <richlowe@richlowe.net>2012-09-22 19:47:23 -0400
commit7014882c6a3672fd0e5d60200af8643ae53c5928 (patch)
tree2c46b144ad1c8047ab5b22280d7f3920fa47c453 /usr/src/cmd/vscan
parent1a5ea5323390ffdf86f171d238b41e381d2292b9 (diff)
downloadillumos-joyent-7014882c6a3672fd0e5d60200af8643ae53c5928.tar.gz
2933 compiler warning gags need better granularity
Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Garrett D'Amore <garrett@damore.org>
Diffstat (limited to 'usr/src/cmd/vscan')
-rw-r--r--[-rwxr-xr-x]usr/src/cmd/vscan/vscand/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/cmd/vscan/vscand/Makefile b/usr/src/cmd/vscan/vscand/Makefile
index 32c1a73da7..15ff0086c2 100755..100644
--- a/usr/src/cmd/vscan/vscand/Makefile
+++ b/usr/src/cmd/vscan/vscand/Makefile
@@ -22,8 +22,6 @@
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#
-#ident "%Z%%M% %I% %E% SMI"
PROG = vscand
SRCS = vs_main.c \
@@ -46,6 +44,8 @@ CFLAGS += $(CCVERBOSE)
CFLAGS += -D_FILE_OFFSET_BITS=64
$(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
+CERRWARN += -_gcc=-Wno-switch
+
LINTFLAGS += -mu
C99MODE = -xc99=%all
C99LMODE = -Xc99=%all