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:
John Baldwin 2013-05-07 18:08:49 +00:00
parent d881730627
commit 6c14193bd0

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);
}