diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-09-30 08:46:16 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-10-02 03:52:45 +0200 |
commit | 45c0ecba2d502acb85405bf1330f1a466fc0cc3b (patch) | |
tree | 3d70a92e24cdeec01661c71b031d3fad4bf126ba /src/journal/journald.c | |
parent | journald: split-out closing journal files from managed_journal_file_open() (diff) | |
download | systemd-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.c | 2 |
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 |