summaryrefslogtreecommitdiffstats
path: root/src/journal/journald.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/journald.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/journald.c')
-rw-r--r--src/journal/journald.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journald.c b/src/journal/journald.c
index 3d4044295e..94aad05de9 100644
--- a/src/journal/journald.c
+++ b/src/journal/journald.c
@@ -102,7 +102,7 @@ int main(int argc, char *argv[]) {
if (server.system_journal) {
usec_t u;
- if (journal_file_next_evolve_usec(server.system_journal->file, &u)) {
+ if (journal_file_next_evolve_usec(server.system_journal, &u)) {
if (n >= u)
t = 0;
else