yanglint UPDATE logging improved
diff --git a/tools/lint/yl_opt.c b/tools/lint/yl_opt.c
index 1a6add0..7cd855f 100644
--- a/tools/lint/yl_opt.c
+++ b/tools/lint/yl_opt.c
@@ -32,7 +32,7 @@
 
     rec = malloc(sizeof *rec);
     if (!rec) {
-        YLMSG_E("Allocating memory for data file information failed.\n");
+        YLMSG_E("Allocating memory for data file information failed.");
         return NULL;
     }
     rec->in = in;
@@ -41,7 +41,7 @@
 
     if (set && ly_set_add(set, rec, 1, NULL)) {
         free(rec);
-        YLMSG_E("Storing data file information failed.\n");
+        YLMSG_E("Storing data file information failed.");
         return NULL;
     }
 
@@ -165,7 +165,7 @@
         return 0;
     }
 
-    YLMSG_E("Unknown output format %s\n", arg);
+    YLMSG_E("Unknown output format %s.", arg);
     return 1;
 }
 
@@ -312,7 +312,7 @@
         ++count;
         r = realloc(vector, (count + 1) * sizeof *vector);
         if (!r) {
-            YLMSG_E("Memory allocation failed (%s:%d, %s).\n", __FILE__, __LINE__, strerror(errno));
+            YLMSG_E("Memory allocation failed (%s:%d, %s).", __FILE__, __LINE__, strerror(errno));
             free(vector);
             return -1;
         }