Print this page
10079 smatch Makefile changes for usr/src/lib

@@ -9,10 +9,11 @@
 # http://www.illumos.org/license/CDDL.
 #
 
 #
 # Copyright 2017 Nexenta Systems, Inc.
+# Copyright (c) 2018, Joyent, Inc.
 #
 
 LIBRARY=        libofmt.a
 VERS=           .1
 

@@ -27,10 +28,12 @@
 SRCS=           $(SRCDIR)/ofmt.c
 
 $(LINTLIB)      := SRCS = $(SRCDIR)/$(LINTSRC)
 LDLIBS +=       -lc
 
+SMOFF += kmalloc_wrong_size
+
 .KEEP_STATE:
 
 all:            $(LIBS)
 
 lint:           lintcheck