1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-03-08 20:58:20 +03:00

fix wrong statement JOURNAL_FILE_FORMAT.md doc

This commit is contained in:
Yangyang Shen 2021-03-29 20:29:54 +08:00 committed by Zbigniew Jędrzejewski-Szmek
parent 46cfe8f50d
commit 119063d2b1

View File

@ -295,7 +295,7 @@ If a file is opened for writing the **state** field should be set to
STATE_ONLINE. If a file is closed after writing the **state** field should be STATE_ONLINE. If a file is closed after writing the **state** field should be
set to STATE_OFFLINE. After a file has been rotated it should be set to set to STATE_OFFLINE. After a file has been rotated it should be set to
STATE_ARCHIVED. If a writer is asked to write to a file that is not in STATE_ARCHIVED. If a writer is asked to write to a file that is not in
STATE_OFFLINE it should immediately rotate the file and start a new one, STATE_ONLINE it should immediately rotate the file and start a new one,
without changing the file. without changing the file.
After and before the state field is changed `fdatasync()` should be executed on After and before the state field is changed `fdatasync()` should be executed on