summaryrefslogtreecommitdiff
path: root/cmds-check.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmds-check.c')
-rw-r--r--cmds-check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds-check.c b/cmds-check.c
index 5d2e9edf..12192fa2 100644
--- a/cmds-check.c
+++ b/cmds-check.c
@@ -973,7 +973,7 @@ static u64 count_csum_range(struct btrfs_root *root, u64 start, u64 len)
size_t size;
u64 found = 0;
u64 csum_end;
- u16 csum_size = btrfs_super_csum_size(&root->fs_info->super_copy);
+ u16 csum_size = btrfs_super_csum_size(root->fs_info->super_copy);
btrfs_init_path(&path);
@@ -3613,7 +3613,7 @@ int cmd_check(int argc, char **argv)
if (info == NULL)
return 1;
- uuid_unparse(info->super_copy.fsid, uuidbuf);
+ uuid_unparse(info->super_copy->fsid, uuidbuf);
printf("Checking filesystem on %s\nUUID: %s\n", argv[optind], uuidbuf);
if (!extent_buffer_uptodate(info->tree_root->node) ||