Synchronize size calculation in human_size and human_size_brief
authorMaciej Naruszewicz <maciej.naruszewicz@intel.com>
Tue, 2 Oct 2012 06:40:11 +0000 (16:40 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 2 Oct 2012 06:40:11 +0000 (16:40 +1000)
commit570abc6f3881b5152cb1244d5e6afcc421c5a4ce
tree6cf23dffeb323eeff05a14e2f4aff99c2d900413
parent9590cb42766ac0120d2c2e9e766de3c17d67a902
Synchronize size calculation in human_size and human_size_brief

It would be better if two size-calculating methods had the same
calculating algorithm. The human_size way of calculation seems
more readable, so let's use it for both methods.

Signed-off-by: Maciej Naruszewicz <maciej.naruszewicz@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
util.c