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

@@ -21,10 +21,11 @@
 #
 # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
+# Copyright (c) 2018, Joyent, Inc.
 #
 
 PROG=   smbadm
 SRCS=   smbadm.c
 

@@ -36,10 +37,12 @@
 
 .KEEP_STATE:
 
 CERRWARN += -_gcc=-Wno-uninitialized
 
+SMOFF += free
+
 all:            $(PROG)
 
 clean:
         $(RM) $(OBJS)