git: sbin/hammer2: Add 'B' to sizetostr() result when < 1024/2

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Wed Oct 16 12:37:18 PDT 2019


commit 1c90b351be5e42c1a53f0155ca0fea167f790de2
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Thu Oct 17 04:30:20 2019 +0900

    sbin/hammer2: Add 'B' to sizetostr() result when < 1024/2
    
    All other cases have trailing 'B' from "KB", "MB", etc,
    so it's better to be shown as e.g. "0.00B" than "0.00".

Summary of changes:
 sbin/hammer2/subs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1c90b351be5e42c1a53f0155ca0fea167f790de2


-- 
DragonFly BSD source repository


More information about the Commits mailing list