summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2012-01-10 22:03:49 +0100
committerMichal Schmidt <mschmidt@redhat.com>2012-01-11 21:53:00 +0100
commit52beb2c379674e066d6cf50d59874478403e4da4 (patch)
treec1d7d436a61d837d450f2ce3b1c6127836a5d227
parent7f120cc6a2eeea1b695222ff6e8e83b4f14ace59 (diff)
logs-show: fix missing newline in short output
Ellipsized messages were printed without a newline.
-rw-r--r--src/logs-show.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logs-show.c b/src/logs-show.c
index 2fe205fea6..8d728a66de 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