git: sbin/hammer: Use calloc(3) instead of malloc(3)+bzero(3)

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Dec 17 11:28:48 PST 2016


commit 6153075a8b0ad2fafa7eae03e6d2b82742c11489
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sat Dec 17 03:52:37 2016 +0900

    sbin/hammer: Use calloc(3) instead of malloc(3)+bzero(3)

Summary of changes:
 sbin/hammer/cmd_history.c |  5 +----
 sbin/hammer/ondisk.c      | 11 ++---------
 2 files changed, 3 insertions(+), 13 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6153075a8b0ad2fafa7eae03e6d2b82742c11489


-- 
DragonFly BSD source repository



More information about the Commits mailing list