Print this page
10078 smatch fixes for UCB

@@ -21,10 +21,11 @@
 
 #
 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# # Copyright (c) 2018, Joyent, Inc.
 #
 # ucbcmd/Makefile.ucbcmd
 #
 # Definitions common to ucb command source.
 #

@@ -56,10 +57,13 @@
 ROOTPROG64=     $(PROG:%=$(ROOTBIN64)/%)
 ROOTPROG32=     $(PROG:%=$(ROOTBIN32)/%)
 
 ISAEXEC=        $(ROOT)/usr/lib/isaexec
 
+# don't lint any of ucbcmd
+SMATCH=off
+
 # storing LDLIBS in two macros allows reordering of options
 LDLIBS.cmd =    $(ENVLDLIBS1)  $(ENVLDLIBS2)  $(ENVLDLIBS3)
 LDLIBS =        $(LDLIBS.cmd)
 
 LDFLAGS.cmd = \