summaryrefslogtreecommitdiff
path: root/pathd/path_nb.c
diff options
context:
space:
mode:
Diffstat (limited to 'pathd/path_nb.c')
-rw-r--r--pathd/path_nb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pathd/path_nb.c b/pathd/path_nb.c
index 1ab8b7f39b..137e64d12c 100644
--- a/pathd/path_nb.c
+++ b/pathd/path_nb.c
@@ -310,7 +310,7 @@ void iter_objfun_prefs(const struct lyd_node *dnode, const char* path,
struct of_cb_args args = {0};
struct of_cb_pref *p;
- yang_dnode_iterate(iter_objfun_cb, &args, dnode, path);
+ yang_dnode_iterate(iter_objfun_cb, &args, dnode, "%s", path);
for (p = args.first; p != NULL; p = p->next)
fun(p->type, arg);
}