git: sbin/hammer: Properly use calloc(3)

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


commit c8f165e29936aebe2319123250c1750baf2c0f30
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sat Dec 17 03:43:17 2016 +0900

    sbin/hammer: Properly use calloc(3)
    
    It's supposed to be number and then size.

Summary of changes:
 sbin/hammer/cmd_blockmap.c |  8 ++++----
 sbin/hammer/cmd_dedup.c    | 12 ++++++------
 sbin/hammer/cmd_recover.c  |  2 +-
 sbin/hammer/ondisk.c       |  4 ++--
 4 files changed, 13 insertions(+), 13 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c8f165e29936aebe2319123250c1750baf2c0f30


-- 
DragonFly BSD source repository



More information about the Commits mailing list