freebsd-nq/cddl
Pedro F. Giffuni 273df42911 libdtrace: use calloc(3) instead of malloc(3) when it makes sense.
calloc(3) is faster and occasionally safer than malloc(3) + bzero(3).

In one case, pointed out by Mark[1], this also cleans up a calculation.

Reviewed by:	markj [1]
MFC after:	1 week
2016-03-14 00:34:12 +00:00
..
compat/opensolaris
contrib libdtrace: use calloc(3) instead of malloc(3) when it makes sense. 2016-03-14 00:34:12 +00:00
lib DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
sbin DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
tests DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
usr.bin DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
usr.sbin DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
Makefile
Makefile.inc