summaryrefslogtreecommitdiffstats
path: root/src/journal-remote/journal-remote.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-09-30 08:46:16 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-10-02 03:52:45 +0200
commit45c0ecba2d502acb85405bf1330f1a466fc0cc3b (patch)
tree3d70a92e24cdeec01661c71b031d3fad4bf126ba /src/journal-remote/journal-remote.c
parentjournald: split-out closing journal files from managed_journal_file_open() (diff)
downloadsystemd-45c0ecba2d502acb85405bf1330f1a466fc0cc3b.tar.xz
systemd-45c0ecba2d502acb85405bf1330f1a466fc0cc3b.zip
journald: drop ManagedJournalFile
The ManagedJournalFile object is a trivial wrapper of JournalFile. Let's drop it, and also drop 'managed_' prefix from the functions.
Diffstat (limited to 'src/journal-remote/journal-remote.c')
-rw-r--r--src/journal-remote/journal-remote.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/journal-remote/journal-remote.c b/src/journal-remote/journal-remote.c
index 29da82e65a..16f74ef066 100644
--- a/src/journal-remote/journal-remote.c
+++ b/src/journal-remote/journal-remote.c
@@ -79,7 +79,7 @@ static int open_output(RemoteServer *s, Writer *w, const char* host) {
assert_not_reached();
}
- r = managed_journal_file_open_reliably(
+ r = journal_file_open_reliably(
filename,
O_RDWR|O_CREAT,
s->file_flags,
@@ -92,7 +92,7 @@ static int open_output(RemoteServer *s, Writer *w, const char* host) {
if (r < 0)
return log_error_errno(r, "Failed to open output journal %s: %m", filename);
- log_debug("Opened output file %s", w->journal->file->path);
+ log_debug("Opened output file %s", w->journal->path);
return 0;
}