yanglint BUGFIX minor error fixes
diff --git a/tools/lint/common.c b/tools/lint/common.c
index 650aa78..b41e4fe 100644
--- a/tools/lint/common.c
+++ b/tools/lint/common.c
@@ -143,7 +143,7 @@
/* fill the record */
p = strchr(fstring, ':');
if (!p) {
- YLMSG_E("Invalid format of the features specification (%s)", fstring);
+ YLMSG_E("Invalid format of the features specification (%s).\n", fstring);
return -1;
}
rec->mod_name = strndup(fstring, p - fstring);
@@ -264,7 +264,7 @@
++count;
r = realloc(vector, (count + 1) * sizeof *vector);
if (!r) {
- YLMSG_E("Memory allocation failed (%s:%d, %s),", __FILE__, __LINE__, strerror(errno));
+ YLMSG_E("Memory allocation failed (%s:%d, %s).\n", __FILE__, __LINE__, strerror(errno));
free(vector);
return -1;
}