diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-06-09 01:13:46 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2022-06-09 15:07:25 -0400 |
commit | 6ac37db8415c636607d878c16af8346df55668f4 (patch) | |
tree | 9c41e2d77899017d8deebc20d3d125541d476457 /cmd_format.c | |
parent | bec3a265658010a6cbf0cfac6dca461a7edf2c7d (diff) |
Update bcachefs sources to 24f7e08cd8 bcachefs: shrinker.to_text() methods
Diffstat (limited to 'cmd_format.c')
-rw-r--r-- | cmd_format.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd_format.c b/cmd_format.c index 57aa496c..4debc285 100644 --- a/cmd_format.c +++ b/cmd_format.c @@ -239,7 +239,7 @@ int cmd_format(int argc, char *argv[]) if (!quiet) { struct printbuf buf = PRINTBUF; - buf.units = PRINTBUF_UNITS_HUMAN_READABLE; + buf.human_readable_units = true; bch2_sb_to_text(&buf, sb, false, 1 << BCH_SB_FIELD_members); printf("%s", buf.buf); @@ -340,7 +340,7 @@ int cmd_show_super(int argc, char *argv[]) struct printbuf buf = PRINTBUF; - buf.units = PRINTBUF_UNITS_HUMAN_READABLE; + buf.human_readable_units = true; bch2_sb_to_text(&buf, sb.sb, print_layout, fields); printf("%s", buf.buf); |