diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2022-02-02 14:30:50 +0000 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2022-02-02 14:39:39 +0000 |
commit | d02af6f33b69c1335f338e941c8fafb3c2b1a390 (patch) | |
tree | 6634305f7e20a3b242564260af3bf8f21ac1d1a2 /src/journal-remote/journal-remote-write.c | |
parent | 613d65d88fb4c615e454776cce73ca214367ba06 (diff) | |
download | systemd-d02af6f33b69c1335f338e941c8fafb3c2b1a390.tar.gz |
journal: Rename JournaldFile to ManagedJournalFile
JournalFile and JournaldFile are hard to distinguish from each other.
Let's use ManagedJournalFile instead to make the distinction more clear.
Diffstat (limited to 'src/journal-remote/journal-remote-write.c')
-rw-r--r-- | src/journal-remote/journal-remote-write.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/journal-remote/journal-remote-write.c b/src/journal-remote/journal-remote-write.c index b82cb10118..5e47616504 100644 --- a/src/journal-remote/journal-remote-write.c +++ b/src/journal-remote/journal-remote-write.c @@ -3,8 +3,8 @@ #include "alloc-util.h" #include "journal-remote.h" -static int do_rotate(JournaldFile **f, MMapCache *m, bool compress, bool seal) { - int r = journald_file_rotate(f, m, compress, UINT64_MAX, seal, NULL); +static int do_rotate(ManagedJournalFile **f, MMapCache *m, bool compress, bool seal) { + int r = managed_journal_file_rotate(f, m, compress, UINT64_MAX, seal, NULL); if (r < 0) { if (*f) log_error_errno(r, "Failed to rotate %s: %m", (*f)->file->path); @@ -40,7 +40,7 @@ static Writer* writer_free(Writer *w) { if (w->journal) { log_debug("Closing journal file %s.", w->journal->file->path); - journald_file_close(w->journal); + managed_journal_file_close(w->journal); } if (w->server && w->hashmap_key) |