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.
 # Copyright 2015 Nexenta Systems, Inc. All rights reserved.
 #
-# cmd/fs.d/ufs/quotaon/Makefile
+# Copyright (c) 2018, Joyent, Inc.
 
 FSTYPE=         ufs
 LIBPROG=        quotaon
 QUOTAOFF=       quotaoff
 ATTMK=          $(LIBPROG)

@@ -41,10 +41,13 @@
 
 CPPFLAGS +=     -D_LARGEFILE64_SOURCE
 CERRWARN +=     -_gcc=-Wno-unused-variable
 CERRWARN +=     -_gcc=-Wno-unused-function
 
+# not linted
+SMATCH=off
+
 lint:           lint_PROG
 
 $(ROOTLIBFSTYPE)/$(QUOTAOFF):   $(ROOTLIBFSTYPE)/$(LIBPROG) 
                 -$(RM) $@; $(LN) $(ROOTLIBFSTYPE)/$(LIBPROG) $@