summaryrefslogtreecommitdiffstats
path: root/src/journal-remote/journal-remote.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-02-09 12:21:25 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-02-15 01:50:18 +0100
commitda96afcd6c7e3f5aec370ae35e532b913ac5ea41 (patch)
tree345f98550ed828d9081e372f0e2b6b8c17cefadf /src/journal-remote/journal-remote.c
parentsd-journal: use -EBADF for journal_file_open() (diff)
downloadsystemd-da96afcd6c7e3f5aec370ae35e532b913ac5ea41.tar.xz
systemd-da96afcd6c7e3f5aec370ae35e532b913ac5ea41.zip
journal-file-util: drop unused template argument for journal_file_open_reliably()
I understand that the original motivation to introduce the template argument here is to make journal_file_open() and _reliabrly() take the same arguments. But, yeah, that's completely unused, not necessary to complicate the code even the difference is not big.
Diffstat (limited to 'src/journal-remote/journal-remote.c')
-rw-r--r--src/journal-remote/journal-remote.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/journal-remote/journal-remote.c b/src/journal-remote/journal-remote.c
index 7c5ccbbea6..2d309d1236 100644
--- a/src/journal-remote/journal-remote.c
+++ b/src/journal-remote/journal-remote.c
@@ -86,7 +86,6 @@ static int open_output(RemoteServer *s, Writer *w, const char* host) {
UINT64_MAX,
&w->metrics,
w->mmap,
- NULL,
&w->journal);
if (r < 0)
return log_error_errno(r, "Failed to open output journal %s: %m", filename);