summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAntonio Terceiro <asa@terceiro.xyz>2021-03-21 15:37:51 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2021-03-21 18:52:07 +0100
commit17e90001643d07a7353ba88417e12be2ff0fa042 (patch)
treecffccf372d7addf3e69673cf96d4dd85956330ff /src
parentmeson: fix build error of test-dnssec-complex (diff)
downloadsystemd-17e90001643d07a7353ba88417e12be2ff0fa042.tar.xz
systemd-17e90001643d07a7353ba88417e12be2ff0fa042.zip
logs-show: add missing newline in warning message
Diffstat (limited to 'src')
-rw-r--r--src/shared/logs-show.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c
index 7c61c334e9..706a00c7f0 100644
--- a/src/shared/logs-show.c
+++ b/src/shared/logs-show.c
@@ -1396,7 +1396,7 @@ int show_journal(
bool noaccess = journal_access_blocked(j);
if (line == 0 && noaccess)
- fprintf(f, "Warning: some journal files were not opened due to insufficient permissions.");
+ fprintf(f, "Warning: some journal files were not opened due to insufficient permissions.\n");
else if (!noaccess)
fprintf(f, "Notice: journal has been rotated since unit was started, output may be incomplete.\n");
else