Don't pad disk partition sizes with leading zeros. This was already

fixed in a different way by the new disk code used for other
platforms.

MFC after:	1 week
This commit is contained in:
jhb 2013-05-07 18:08:49 +00:00
parent 4f560aa809
commit 15f6025f53

View File

@ -296,7 +296,7 @@ display_size(uint64_t size)
size /= 1024;
unit = 'M';
}
sprintf(buf, "%.6ld%cB", (long)size, unit);
sprintf(buf, "%6ld%cB", (long)size, unit);
return (buf);
}