data tree FEATURE support for NETCONF messages
diff --git a/src/tree_data_helpers.c b/src/tree_data_helpers.c
index ab4b0e5..7aaf1fb 100644
--- a/src/tree_data_helpers.c
+++ b/src/tree_data_helpers.c
@@ -66,7 +66,7 @@
 }
 
 struct lyd_node **
-lyd_node_children_p(struct lyd_node *node)
+lyd_node_child_p(struct lyd_node *node)
 {
     assert(node);
 
@@ -100,7 +100,7 @@
         return ((struct lyd_node_opaq *)node)->child;
     }
 
-    children = lyd_node_children_p((struct lyd_node *)node);
+    children = lyd_node_child_p((struct lyd_node *)node);
     if (children) {
         struct lyd_node *child = *children;
         while (child && child->schema && (child->schema->flags & LYS_KEY)) {