diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-02-14 22:06:20 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-02-15 01:50:18 +0100 |
commit | 36c6b26c371dbd6c4e3f0ff78b02c8a06a82d805 (patch) | |
tree | 5f3383de1661a1b2c412d570782fa655a1748b49 /src/journal/journald-server.c | |
parent | sd-journal: shorten code a bit (diff) | |
download | systemd-36c6b26c371dbd6c4e3f0ff78b02c8a06a82d805.tar.xz systemd-36c6b26c371dbd6c4e3f0ff78b02c8a06a82d805.zip |
sd-journal: use -EBADF for journal_file_open()
Diffstat (limited to 'src/journal/journald-server.c')
-rw-r--r-- | src/journal/journald-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c index 8f9ecd9622..13e8895d05 100644 --- a/src/journal/journald-server.c +++ b/src/journal/journald-server.c @@ -293,7 +293,7 @@ static int server_open_journal( &f); else r = journal_file_open( - /* fd= */ -1, + /* fd= */ -EBADF, fname, open_flags, file_flags, |