summaryrefslogtreecommitdiff
path: root/sysutils/fcron/files/patch-save.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/fcron/files/patch-save.c')
-rw-r--r--sysutils/fcron/files/patch-save.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/fcron/files/patch-save.c b/sysutils/fcron/files/patch-save.c
index 5ddd7209eebd..878a2d2cfd15 100644
--- a/sysutils/fcron/files/patch-save.c
+++ b/sysutils/fcron/files/patch-save.c
@@ -1,8 +1,8 @@
Replace fdatasync() with fsync() because FreeBSD doesn't have fdatasync().
---- save.c.orig 2014-05-10 17:03:59 UTC
+--- save.c.orig 2016-06-26 15:02:48 UTC
+++ save.c
-@@ -311,8 +311,8 @@ write_file_to_disk(int fd, struct cf_t *
+@@ -315,8 +315,8 @@ write_file_to_disk(int fd, struct cf_t *
* This is to avoid cases where the file name (meta-data) would be updated,
* and there is a crash before the data is fully written: not sure if that
* is possible, but better safe than sorry! */