summaryrefslogtreecommitdiff
path: root/docs/JOURNAL_FILE_FORMAT.md
diff options
context:
space:
mode:
authorYangyang Shen <shenyangyang4@huawei.com>2021-03-29 20:29:54 +0800
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-03-29 19:11:27 +0200
commit119063d2b149667a91e0e08e4bdf82a0eb6a7efd (patch)
treeacb057d444d92038e7e8973835faef31b698e8d0 /docs/JOURNAL_FILE_FORMAT.md
parent46cfe8f50db6d15a00384cc422f1f9d068207238 (diff)
downloadsystemd-119063d2b149667a91e0e08e4bdf82a0eb6a7efd.tar.gz
fix wrong statement JOURNAL_FILE_FORMAT.md doc
Diffstat (limited to 'docs/JOURNAL_FILE_FORMAT.md')
-rw-r--r--docs/JOURNAL_FILE_FORMAT.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/JOURNAL_FILE_FORMAT.md b/docs/JOURNAL_FILE_FORMAT.md
index 3910669899..3b2d9778e4 100644
--- a/docs/JOURNAL_FILE_FORMAT.md
+++ b/docs/JOURNAL_FILE_FORMAT.md
@@ -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