Commit 26c5268e0ac473a8c2d0468da7e660608448bb3a

Martin Mitas 2018-04-12T11:51:21

md2html.c: Add newline to some error messages.

diff --git a/md2html/md2html.c b/md2html/md2html.c
index f9a5548..6253bbf 100644
--- a/md2html/md2html.c
+++ b/md2html/md2html.c
@@ -63,7 +63,7 @@ membuf_init(struct membuffer* buf, MD_SIZE new_asize)
     buf->asize = new_asize;
     buf->data = malloc(buf->asize);
     if(buf->data == NULL) {
-        fprintf(stderr, "membuf_init: malloc() failed.");
+        fprintf(stderr, "membuf_init: malloc() failed.\n");
         exit(1);
     }
 }
@@ -80,7 +80,7 @@ membuf_grow(struct membuffer* buf, MD_SIZE new_asize)
 {
     buf->data = realloc(buf->data, new_asize);
     if(buf->data == NULL) {
-        fprintf(stderr, "membuf_grow: realloc() failed.");
+        fprintf(stderr, "membuf_grow: realloc() failed.\n");
         exit(1);
     }
     buf->asize = new_asize;