git: lib/libhammer: don't hide sysctlbyname(3) results

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Sat Feb 7 03:45:43 PST 2015


commit b1eaba809156816907c4b763d50402bce0406955
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Tue Jan 27 03:20:38 2015 +0900

    lib/libhammer: don't hide sysctlbyname(3) results
    
    This patch makes libhammer_btree_stats() and libhammer_io_stats() check
    return value of each sysctlbyname(3) instead of only returning the last
    result.
    
    Closes: #2779

Summary of changes:
 lib/libhammer/stats.c | 58 ++++++++++++++++++++++++++++++---------------------
 1 file changed, 34 insertions(+), 24 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list