xbps_humanize_number: increase by one the output digits.

This commit is contained in:
Juan RP 2011-02-24 10:46:10 +01:00
parent 0a84799ac7
commit a252df4a8b

View File

@ -158,6 +158,6 @@ xbps_humanize_number(char *buf, int64_t bytes)
{ {
assert(buf != NULL); assert(buf != NULL);
return humanize_number(buf, 6, bytes, "B", return humanize_number(buf, 7, bytes, "B",
HN_AUTOSCALE, HN_DECIMAL|HN_NOSPACE); HN_AUTOSCALE, HN_DECIMAL|HN_NOSPACE);
} }