From 52beb2c379674e066d6cf50d59874478403e4da4 Mon Sep 17 00:00:00 2001 From: Michal Schmidt Date: Tue, 10 Jan 2012 22:03:49 +0100 Subject: [PATCH] logs-show: fix missing newline in short output Ellipsized messages were printed without a newline. --- src/logs-show.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5