summaryrefslogtreecommitdiff
path: root/root-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'root-tree.c')
-rw-r--r--root-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/root-tree.c b/root-tree.c
index d0cabeda..5bec7077 100644
--- a/root-tree.c
+++ b/root-tree.c
@@ -34,7 +34,7 @@ int btrfs_find_last_root(struct btrfs_root *root, u64 objectid,
int slot;
search_key.objectid = objectid;
- search_key.flags = (u32)-1;
+ search_key.type = (u8)-1;
search_key.offset = (u64)-1;
btrfs_init_path(&path);