summaryrefslogtreecommitdiff
path: root/src/journal-remote
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-05-16 17:12:53 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-05-31 13:04:18 +0200
commit9b972c9aab56292ac2934fd1942e1ba443a39df0 (patch)
treeea91048e6be90d2e97248f01d78c19a9463e2318 /src/journal-remote
parentfd4885df947a23b8f40c08f08ac7f7d13a8abdf4 (diff)
downloadsystemd-9b972c9aab56292ac2934fd1942e1ba443a39df0.tar.gz
journal: rename output_journal to show_journal_entry
We have show_journal, and output_journal, and it's not immediately clear how they related. Rename the first to show that it just prints one entry.
Diffstat (limited to 'src/journal-remote')
-rw-r--r--src/journal-remote/journal-gatewayd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal-remote/journal-gatewayd.c b/src/journal-remote/journal-gatewayd.c
index c29b65764a..a2b7fd6bd9 100644
--- a/src/journal-remote/journal-gatewayd.c
+++ b/src/journal-remote/journal-gatewayd.c
@@ -214,7 +214,7 @@ static ssize_t request_reader_entries(
return MHD_CONTENT_READER_END_WITH_ERROR;
}
- r = output_journal(m->tmp, m->journal, m->mode, 0, OUTPUT_FULL_WIDTH,
+ r = show_journal_entry(m->tmp, m->journal, m->mode, 0, OUTPUT_FULL_WIDTH,
NULL, NULL, NULL);
if (r < 0) {
log_error_errno(r, "Failed to serialize item: %m");