summaryrefslogtreecommitdiff
path: root/send-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'send-utils.c')
-rw-r--r--send-utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/send-utils.c b/send-utils.c
index 096fa02e..fcde5c28 100644
--- a/send-utils.c
+++ b/send-utils.c
@@ -244,7 +244,8 @@ int subvol_uuid_search_init(int mnt_fd, struct subvol_uuid_search *s)
if (!root_item_valid)
goto skip;
- path = path_for_root(mnt_fd, sh->objectid);
+ path = btrfs_list_path_for_root(mnt_fd,
+ sh->objectid);
if (!path)
path = strdup("");
if (IS_ERR(path)) {