Print this page
10080 smatch Makefile changes for usr/src/cmd
@@ -21,13 +21,11 @@
#
#
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/cfgadm/Makefile
+# Copyright (c) 2018, Joyent, Inc.
PROG= cfgadm
include ../Makefile.cmd
@@ -37,10 +35,12 @@
XGETFLAGS += -a -x cfgadm.xcl
LDLIBS += -lcfgadm
LINTFLAGS += $(ENVLDFLAGS1) $(ENVLDFLAGS2) $(ENVLDFLAGS3) $(LDLIBS)
+SMOFF += snprintf_overflow
+
.KEEP_STATE:
all: $(PROG)
install: all $(ROOTUSRSBINPROG)