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:
parent
d881730627
commit
6c14193bd0
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user