git: sbin/hammer: Change fprintf (without exit) to err variants

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


commit f4bb1f267324d53a5686f00add8c8cf74aa7b4b5
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sat Dec 17 00:51:38 2016 +0900

    sbin/hammer: Change fprintf (without exit) to err variants
    
    In additon to bac217f3 and 02318f07, these are fprints calls
    not followed by exit right after fprintf, but makes no difference
    with err variants (as it'll exit(1) shortly).
    
    The ones in sbin/hammer/cmd_dedup.c should have been changed
    in 02318f07.

Summary of changes:
 sbin/hammer/cmd_dedup.c   | 12 ++++--------
 sbin/hammer/cmd_pfs.c     | 16 ++++++----------
 sbin/hammer/cmd_synctid.c |  2 +-
 3 files changed, 11 insertions(+), 19 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list