diff options
Diffstat (limited to 'cmds-restore.c')
-rw-r--r-- | cmds-restore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds-restore.c b/cmds-restore.c index 455c060d..1b3748b2 100644 --- a/cmds-restore.c +++ b/cmds-restore.c @@ -1233,7 +1233,7 @@ static int do_list_roots(struct btrfs_root *root) } btrfs_item_key(leaf, &disk_key, slot); btrfs_disk_key_to_cpu(&found_key, &disk_key); - if (btrfs_key_type(&found_key) != BTRFS_ROOT_ITEM_KEY) { + if (found_key.type != BTRFS_ROOT_ITEM_KEY) { path->slots[0]++; continue; } |