btrfs-progs: extend pretty printers with unit mode
authorDavid Sterba <dsterba@suse.cz>
Mon, 28 Apr 2014 16:04:48 +0000 (18:04 +0200)
committerDavid Sterba <dsterba@suse.cz>
Fri, 10 Oct 2014 16:26:35 +0000 (18:26 +0200)
commit6f23efdf27e70964c5a2228b5cea1c20b269846d
treefea6d5cc96fcc99dd2db79e29bcffaa30d9d2f04
parentdb5d44d132492988cd59d0dddce9ef9260da35fe
btrfs-progs: extend pretty printers with unit mode

The functionality of pretty unit printing was duplicated by
df_pretty_sizes, merge it with pretty_size and enhance the interface
with more suffix mode. Raw, binary or decimal.

Signed-off-by: David Sterba <dsterba@suse.cz>
utils.c
utils.h