Print this page
10080 smatch Makefile changes for usr/src/cmd

@@ -20,11 +20,11 @@
 #
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# cmd/fs.d/nfs/nfsstat/Makefile
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG=           nfsstat
 
 include         ../../../Makefile.cmd
 

@@ -40,10 +40,14 @@
 SRCS += $(STAT_COMMON_SRCS)
 OBJS += $(STAT_COMMON_OBJS)
 
 CPPFLAGS += -I$(STATCOMMONDIR)
 CERRWARN += -_gcc=-Wno-parentheses
+
+# not linted
+SMATCH=off
+
 LDLIBS += -lkstat -lnsl
 
 $(PROG):        $(OBJS)
                 $(LINK.c) -o $@ $(LDLIBS) $(OBJS)
                 $(POST_PROCESS)