From: Michal Schmidt Date: Tue, 10 Jan 2012 21:03:49 +0000 (+0100) Subject: logs-show: fix missing newline in short output X-Git-Tag: v39~75 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52beb2c379674e066d6cf50d59874478403e4da4;p=systemd 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 2fe205fe..8d728a66 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