aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Łyszczek <michal.lyszczek@bofc.pl>2018-09-15 13:11:59 +0200
committerMichał Łyszczek <michal.lyszczek@bofc.pl>2018-09-15 13:11:59 +0200
commit9defd3f1a4edab51401a64b70c64c3a19391e5ab (patch)
treeeee7b5fb645f35122059db45c83b503811078b5e
parentfc1088d51ba61c3da03018d0d7cac342d323baa6 (diff)
downloadembedlog-9defd3f1a4edab51401a64b70c64c3a19391e5ab.tar.gz
embedlog-9defd3f1a4edab51401a64b70c64c3a19391e5ab.tar.bz2
embedlog-9defd3f1a4edab51401a64b70c64c3a19391e5ab.zip
fix bad comment
-rw-r--r--src/el-file.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/el-file.c b/src/el-file.c
index cafa331..0dc4df0 100644
--- a/src/el-file.c
+++ b/src/el-file.c
@@ -548,7 +548,8 @@ int el_file_open
/* ==========================================================================
- puts string s into file from options, if needed also rotates files
+ writes memory block pointed by mem of size mlen into a file, if needed
+ also rotates file
========================================================================== */
@@ -629,7 +630,7 @@ int el_file_putb
* might not be updated and we will lose whole, I say it again
* *whole* file. To prevent data lose on power down we try to sync
* file and its metadata to block device. We do this every
- * configures "sync_every" field since syncing every single write
+ * configured "sync_every" field since syncing every single write
* would simply kill performance - its up to user to decide how much
* data he is willing to lose. It is also possible that altough we
* sync our file and metadata, parent directory might not get