svn r251516 resized the buf argument a bit too much. Pass a hardcoded
size of 6 to humanize_number() to resolve this. PR: 184405 Submitted by: jhb MFC after: 2 weeks
This commit is contained in:
parent
53449c98b7
commit
4a40e59f97
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=258901
@ -320,7 +320,7 @@ print_pd(struct mfi_pd_info *info, int state_len)
|
||||
const char *s;
|
||||
char buf[256];
|
||||
|
||||
humanize_number(buf, sizeof(buf), info->raw_size * 512, "",
|
||||
humanize_number(buf, 6, info->raw_size * 512, "",
|
||||
HN_AUTOSCALE, HN_B | HN_NOSPACE |HN_DECIMAL);
|
||||
printf("(%6s) ", buf);
|
||||
if (info->state.ddf.v.pd_type.is_foreign) {
|
||||
|
Loading…
Reference in New Issue
Block a user