diff options
author | Michał Łyszczek <michal.lyszczek@bofc.pl> | 2019-05-15 20:13:03 +0200 |
---|---|---|
committer | Michał Łyszczek <michal.lyszczek@bofc.pl> | 2019-05-15 20:13:03 +0200 |
commit | 8174475e45e54359d446dd6afe07aa991920330c (patch) | |
tree | 6970fe451f492a66aa74b8e45a6288eea5a40d22 /src/el-file.c | |
parent | 37983a109814d4f8d2412fcbdb77908051909ab4 (diff) | |
download | embedlog-8174475e45e54359d446dd6afe07aa991920330c.tar.gz embedlog-8174475e45e54359d446dd6afe07aa991920330c.tar.bz2 embedlog-8174475e45e54359d446dd6afe07aa991920330c.zip |
struct el: rename file_sync_level to fsync_level for consistency
Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
Diffstat (limited to 'src/el-file.c')
-rw-r--r-- | src/el-file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/el-file.c b/src/el-file.c index 6f9644f..30f564c 100644 --- a/src/el-file.c +++ b/src/el-file.c @@ -708,7 +708,7 @@ int el_file_putb el->written_after_sync += mlen; if (el->written_after_sync >= el->file_sync_every || - el->level_current_msg <= el->file_sync_level) + el->level_current_msg <= el->fsync_level) { /* we either written enough bytes to trigger flush, or log * level is high enough it triggers log flush to block |