summaryrefslogtreecommitdiff
path: root/cmd_format.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd_format.c')
-rw-r--r--cmd_format.c4
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);