[systemd-commits] src/logs-show.c

Michal Schmidt michich at kemper.freedesktop.org
Wed Jan 11 12:55:19 PST 2012


 src/logs-show.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 52beb2c379674e066d6cf50d59874478403e4da4
Author: Michal Schmidt <mschmidt at redhat.com>
Date:   Tue Jan 10 22:03:49 2012 +0100

    logs-show: fix missing newline in short output
    
    Ellipsized messages were printed without a newline.

diff --git a/src/logs-show.c b/src/logs-show.c
index 2fe205f..8d728a6 100644
--- a/src/logs-show.c
+++ b/src/logs-show.c
@@ -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



More information about the systemd-commits mailing list