git: sbin/hammer: Add is_regfile() (avoid directly using a string literal)

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Tue Apr 11 15:37:40 PDT 2017


commit 06a1d31fe1e13bc69789a3ebb767957fa9271217
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Tue Apr 11 22:22:41 2017 +0300

    sbin/hammer: Add is_regfile() (avoid directly using a string literal)

Summary of changes:
 sbin/hammer/cmd_volume.c         | 2 +-
 sbin/hammer/hammer_util.h        | 1 +
 sbin/hammer/ondisk.c             | 6 ++++++
 sbin/newfs_hammer/newfs_hammer.c | 4 ++--
 4 files changed, 10 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/06a1d31fe1e13bc69789a3ebb767957fa9271217


-- 
DragonFly BSD source repository


More information about the Commits mailing list