chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7f120cc
)
logs-show: fix missing newline in short output
author
Michal Schmidt
<mschmidt@redhat.com>
Tue, 10 Jan 2012 21:03:49 +0000
(22:03 +0100)
committer
Michal Schmidt
<mschmidt@redhat.com>
Wed, 11 Jan 2012 20:53:00 +0000
(21:53 +0100)
Ellipsized messages were printed without a newline.
src/logs-show.c
patch
|
blob
|
history
diff --git
a/src/logs-show.c
b/src/logs-show.c
index 2fe205fea6a7b9acb24b11ac270954f804089aa8..8d728a66de12aa7eaa81353420e695903e6098c1 100644
(file)
--- 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
if (!e)
printf(": %.*s\n", (int) message_len, message);
else
- printf(": %s", e);
+ printf(": %s
\n
", e);
free(e);
} else
free(e);
} else