Print this page
10080 smatch Makefile changes for usr/src/cmd
@@ -16,15 +16,14 @@
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
-
-#
# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2018, Joyent, Inc.
PROG= dladm
ROOTFS_PROG= $(PROG)
OBJS= dladm.o
@@ -43,10 +42,12 @@
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-uninitialized
+SMOFF += snprintf_overflow
+
# For headers from librstp.
LINTFLAGS += -erroff=E_TRAILING_COMMA_IN_ENUM
lint := ZLAZYLOAD=
lint := ZNOLAZYLOAD=