From 9224bcc819cb9313eac073abbd7e575c60ae33b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Walstr=C3=B6m?= Date: Fri, 12 Dec 2025 16:00:34 +0100 Subject: [PATCH] copy: Adapt to libyang4 API --- src/bin/copy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/copy.c b/src/bin/copy.c index f9b7d2a1..338b8079 100644 --- a/src/bin/copy.c +++ b/src/bin/copy.c @@ -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);