libyang BUGFIX minor fixes
diff --git a/src/plugins_types.c b/src/plugins_types.c
index 1a3b219..f6ce96c 100644
--- a/src/plugins_types.c
+++ b/src/plugins_types.c
@@ -2070,7 +2070,8 @@
     return value->realtype->plugin->print(value, format, prefix_data, dynamic);
 }
 
-/* @brief Duplication callback of the leafref values.
+/**
+ * @brief Duplication callback of the leafref values.
  *
  * Implementation of the ly_type_dup_clb.
  */
diff --git a/src/tree_data.c b/src/tree_data.c
index 390b89c..f492f35 100644
--- a/src/tree_data.c
+++ b/src/tree_data.c
@@ -1130,7 +1130,7 @@
     /* parse the name */
     tmp = name;
     if (ly_parse_nodeid(&tmp, &prefix, &pref_len, &name, &name_len) || tmp[0]) {
-        LOGERR(ctx, LY_EINVAL, "Metadata name \"%s\" is not valid.", name);
+        LOGERR(ctx, LY_EINVAL, "Attribute name \"%s\" is not valid.", name);
         return LY_EVALID;
     }