perf UPDATE latest API changes
diff --git a/tests/perf/perf.c b/tests/perf/perf.c
index 1fb7055..da1eb93 100644
--- a/tests/perf/perf.c
+++ b/tests/perf/perf.c
@@ -352,7 +352,7 @@
k2_len = sprintf(k2_val, "str%" PRIu32, i);
l_len = sprintf(l_val, "l%" PRIu32, i);
- if ((r = lyd_new_list_bin(data, NULL, "lst", 0, &list, &i, sizeof i, k2_val, k2_len))) {
+ if ((r = lyd_new_list(data, NULL, "lst", LYD_NEW_VAL_BIN, &list, &i, sizeof i, k2_val, k2_len))) {
return r;
}
if ((r = lyd_new_term_bin(list, NULL, "l", l_val, l_len, 0, NULL))) {