Skip to content

Commit 98140ad

Browse files
committed
fix
1 parent 38303b5 commit 98140ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/validation.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1190,7 +1190,7 @@ lyd_validate_minmax(const struct lyd_node *first, const struct lyd_node *parent,
11901190
char suffix_path[256];
11911191
snprintf(suffix_path, sizeof(suffix_path), "/%s", snode->name);
11921192

1193-
ly_log_location(NULL, first, suffix_path, NULL);
1193+
ly_log_location(NULL, parent, suffix_path, NULL);
11941194
if (val_opts & LYD_VALIDATE_OPERATIONAL) {
11951195
LOGWRN(snode->module->ctx, "Too few \"%s\" instances.", snode->name);
11961196
} else {

0 commit comments

Comments
 (0)