git: sbin/hammer: Cleanup pwrite(2) wrapper

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Aug 22 10:53:22 PDT 2015


commit 4dac77b248d4c62e32c036bec94a2216ad71e9b3
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Thu Aug 20 19:22:42 2015 +0900

    sbin/hammer: Cleanup pwrite(2) wrapper
    
    Just make writehammerbuf() return 0 or -1 instead of void,
    just like readhammerbuf() returns 0 or -1.

Summary of changes:
 sbin/hammer/ondisk.c | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4dac77b248d4c62e32c036bec94a2216ad71e9b3


-- 
DragonFly BSD source repository



More information about the Commits mailing list