summaryrefslogtreecommitdiff
path: root/cmd_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd_debug.c')
-rw-r--r--cmd_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd_debug.c b/cmd_debug.c
index e29ceff6..c2206dac 100644
--- a/cmd_debug.c
+++ b/cmd_debug.c
@@ -108,7 +108,7 @@ static void dump_one_device(struct bch_fs *c, struct bch_dev *ca, int fd,
qcow2_write_image(ca->disk_sb.bdev->bd_fd, fd, &data,
max_t(unsigned, btree_bytes(c) / 8, block_bytes(c)));
- darray_exit(data);
+ darray_exit(&data);
}
int cmd_dump(int argc, char *argv[])