]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use calloc() instead of malloc() + bzero(). This also gets rid of a warning
authorXin LI <delphij@FreeBSD.org>
Mon, 8 Dec 2014 06:10:47 +0000 (06:10 +0000)
committerXin LI <delphij@FreeBSD.org>
Mon, 8 Dec 2014 06:10:47 +0000 (06:10 +0000)
commitbde3a4ec392b9c1b0e8764af583782500d4271d9
tree40ae615d9dc7a05f741313e157ee9f218d851b8f
parentc2161091ad3723e6b6bf7a6bd982bd8a5ab5dda8
Use calloc() instead of malloc() + bzero().  This also gets rid of a warning
because bzero is defined by strings.h which is not included in thread_pool.c.

MFC after: 2 weeks
cddl/compat/opensolaris/misc/thread_pool.c