chiark / gitweb /
logs-show: fix missing newline in short output
[elogind.git] / src / logs-show.c
index 2fe205fea6a7b9acb24b11ac270954f804089aa8..8d728a66de12aa7eaa81353420e695903e6098c1 100644 (file)
@@ -237,7 +237,7 @@ static int output_short(sd_journal *j, unsigned line, bool show_all, bool monoto
                 if (!e)
                         printf(": %.*s\n", (int) message_len, message);
                 else
-                        printf(": %s", e);
+                        printf(": %s\n", e);
 
                 free(e);
         } else