summaryrefslogtreecommitdiff
path: root/libbcachefs/tests.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-12-19 15:20:44 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2018-12-19 15:21:54 -0500
commit99ccaf73a8b92d6cb5d6892142a12468081a2b0d (patch)
tree33485dc8938ec4ff92fd653fae58355a85e861cc /libbcachefs/tests.c
parentf9ba96e16535a653b97f7f1f953fabf477737a96 (diff)
Update bcachefs sources to 2724e115d2 bcachefs: Lots of option handling improvements
Diffstat (limited to 'libbcachefs/tests.c')
-rw-r--r--libbcachefs/tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbcachefs/tests.c b/libbcachefs/tests.c
index 24de979b..0b4a1143 100644
--- a/libbcachefs/tests.c
+++ b/libbcachefs/tests.c
@@ -618,8 +618,8 @@ void bch2_btree_perf_test(struct bch_fs *c, const char *testname,
time = j.finish - j.start;
scnprintf(name_buf, sizeof(name_buf), "%s:", testname);
- bch2_hprint(nr_buf, nr);
- bch2_hprint(per_sec_buf, nr * NSEC_PER_SEC / time);
+ bch2_hprint(&PBUF(nr_buf), nr);
+ bch2_hprint(&PBUF(per_sec_buf), nr * NSEC_PER_SEC / time);
printk(KERN_INFO "%-12s %s with %u threads in %5llu sec, %5llu nsec per iter, %5s per sec\n",
name_buf, nr_buf, nr_threads,
time / NSEC_PER_SEC,