Skip to content

Commit 381d978

Browse files
committed
perf UPDATE latest API changes
1 parent eef8dae commit 381d978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/perf/perf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ test_create_new_bin(struct test_state *state, struct timespec *ts_start, struct
352352
k2_len = sprintf(k2_val, "str%" PRIu32, i);
353353
l_len = sprintf(l_val, "l%" PRIu32, i);
354354

355-
if ((r = lyd_new_list_bin(data, NULL, "lst", 0, &list, &i, sizeof i, k2_val, k2_len))) {
355+
if ((r = lyd_new_list(data, NULL, "lst", LYD_NEW_VAL_BIN, &list, &i, sizeof i, k2_val, k2_len))) {
356356
return r;
357357
}
358358
if ((r = lyd_new_term_bin(list, NULL, "l", l_val, l_len, 0, NULL))) {

0 commit comments

Comments
 (0)