]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fix wrong statement JOURNAL_FILE_FORMAT.md doc
authorYangyang Shen <shenyangyang4@huawei.com>
Mon, 29 Mar 2021 12:29:54 +0000 (20:29 +0800)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 29 Mar 2021 17:11:27 +0000 (19:11 +0200)
docs/JOURNAL_FILE_FORMAT.md

index 3910669899fff0c3bbbdbda1c395331e59a6204a..3b2d9778e44eed932a6a6ae715e6052ee1d3bed5 100644 (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
 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_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.
 
 After and before the state field is changed `fdatasync()` should be executed on