diff options
author | Goffredo Baroncelli <kreijack@inwind.it> | 2012-10-01 14:11:27 -0600 |
---|---|---|
committer | root <root@localhost.localdomain> | 2012-10-04 16:26:33 -0400 |
commit | 29db8b12cd06e7eb2e6789ad896c40837db610e5 (patch) | |
tree | 6c8b6f7a8c354c477f19e3101bff7cd0fa95c357 /mkfs.c | |
parent | e86f7198d97a85d3b56ea4053e8fb275f620a8ec (diff) |
pretty_sizes() returns incorrect values
pretty_sizes() returns incorrect values if the argument is < 1024.
pretty_sizes(0) -> 0.00 OK
pretty_sizes(102) -> 0.10 WRONG
pretty_sizes(1023) -> 1.00 WRONG
pretty_sizes(1024) -> 1.00KB OK
Signed-off-by: Goffredo Baroncelli <kreijack@inwind.it>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'mkfs.c')
0 files changed, 0 insertions, 0 deletions