commit | 224e777867dd4befa4e8f8da5745b427bed5de73 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Thu Feb 18 14:22:33 2021 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Thu Feb 18 14:22:33 2021 +0100 |
tree | 673e68729fb903824d67ae89f23714b19d0807a9 | |
parent | 8d65f8560a964c343267c790a329ea38431e2a42 [diff] [blame] |
common REFACTOR minor error message improvements
diff --git a/src/in.c b/src/in.c index f4c8fd6..58666d9 100644 --- a/src/in.c +++ b/src/in.c
@@ -434,7 +434,7 @@ LOG_LOCSET(snode, NULL, NULL, NULL); if ((lydctx->parse_opts & LYD_PARSE_NO_STATE) && (snode->flags & LYS_CONFIG_R)) { - LOGVAL(lydctx->data_ctx->ctx, LY_VCODE_INNODE, "state", snode->name); + LOGVAL(lydctx->data_ctx->ctx, LY_VCODE_UNEXPNODE, "state", snode->name); rc = LY_EVALID; goto cleanup; }