summaryrefslogtreecommitdiffstats
path: root/src/plugins_exts/schema_mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins_exts/schema_mount.c')
-rw-r--r--src/plugins_exts/schema_mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins_exts/schema_mount.c b/src/plugins_exts/schema_mount.c
index 9800760..cc63431 100644
--- a/src/plugins_exts/schema_mount.c
+++ b/src/plugins_exts/schema_mount.c
@@ -982,7 +982,7 @@ schema_mount_validate(struct lysc_ext_instance *ext, struct lyd_node *sibling, c
if (!err) {
lyplg_ext_compile_log(NULL, ext, LY_LLERR, ret, "Unknown validation error (err code %d).", ret);
} else {
- lyplg_ext_compile_log_path(err->path, ext, LY_LLERR, err->no, "%s", err->msg);
+ lyplg_ext_compile_log_err(err, ext);
}
goto cleanup;
}