libyang BUGFIX minor fixes
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;
     }