git: sbin/hammer2: Fix hammer2_pfssubtype_to_str() retval for NONE

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Wed Oct 28 09:42:09 PDT 2020


commit 856d0d8fa40453246105714d4f3bbaf14aff252c
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Sun Oct 25 23:40:26 2020 +0900

    sbin/hammer2: Fix hammer2_pfssubtype_to_str() retval for NONE
    
    cac06d4ec621562239475e76988ab16c661f3430 initially added this
    based on cmd_pfs_list() implementation, but change it to return
    "NONE" for HAMMER2_PFSSUBTYPE_NONE so that this function makes
    sense in other contexts.

Summary of changes:
 sbin/fsck_hammer2/test.c | 11 +++++++----
 sbin/hammer2/cmd_info.c  | 10 +++++++---
 sbin/hammer2/cmd_pfs.c   | 11 ++++++++---
 sbin/hammer2/subs.c      |  2 +-
 4 files changed, 23 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/856d0d8fa40453246105714d4f3bbaf14aff252c


-- 
DragonFly BSD source repository


More information about the Commits mailing list