Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 16,30 ****
# 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.
#
PROG= dladm
ROOTFS_PROG= $(PROG)
OBJS= dladm.o
--- 16,29 ----
# 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,52 ****
--- 42,53 ----
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=