@@ -293,7 +293,7 @@ static void print_dev_item(struct extent_buffer *eb,
BTRFS_UUID_SIZE);
uuid_unparse(fsid, fsid_str);
printf("\t\tdevid %llu total_bytes %llu bytes_used %llu\n"
- "\t\tio_align %u io_width %u sector_size %u type %llu\n"
+ "\t\tio_align %u io_width %u sector_size %u flags %llu\n"
"\t\tgeneration %llu start_offset %llu dev_group %u\n"
"\t\tseek_speed %hhu bandwidth %hhu\n"
"\t\tuuid %s\n"
@@ -2051,7 +2051,7 @@ void btrfs_print_superblock(struct btrfs_super_block *sb, int full)
printf("dev_item.fsid\t\t%s %s\n", buf,
cmp_res ? "[match]" : "[DON'T MATCH]");
- printf("dev_item.type\t\t%llu\n", (unsigned long long)
+ printf("dev_item.flags\t\t%llu\n", (unsigned long long)
btrfs_stack_device_flags(&sb->dev_item));
printf("dev_item.total_bytes\t%llu\n", (unsigned long long)
btrfs_stack_device_total_bytes(&sb->dev_item));