copy: Adapt to libyang4 API

This commit is contained in:
Mattias Walström
2025-12-16 14:28:24 +01:00
parent 0c7651705b
commit 9224bcc819
+1 -1
View File
@@ -291,7 +291,7 @@ static int sysrepo_export(const struct infix_ds *ds, const char *path)
return err;
}
err = lyd_print_path(path, data->tree, LYD_JSON, LYD_PRINT_WITHSIBLINGS);
err = lyd_print_path(path, data->tree, LYD_JSON, LYD_PRINT_SIBLINGS);
sr_release_data(data);
if (err) {
sysrepo_print_error(sess);