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