10079 smatch Makefile changes for usr/src/lib
@@ -20,10 +20,11 @@ # # # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # +# Copyright (c) 2018, Joyent, Inc. LIBRARY = libcfgadm.a VERS = .1 OBJECTS = config_admin.o
@@ -37,10 +38,12 @@ CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-type-limits CERRWARN += -_gcc=-Wno-unused-label +SMOFF += snprintf_overflow + .KEEP_STATE: all: $(LIBS) lint: lintcheck