aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-dump.c
diff options
context:
space:
mode:
authorGravatar David Bremner <david@tethera.net>2014-05-18 06:37:48 +0900
committerGravatar David Bremner <david@tethera.net>2014-05-18 06:37:48 +0900
commitc67587f003db32a60aca93fc12f7e82204ee55f6 (patch)
treed7f56b893907624b13fa38c5550d5787a85712b6 /notmuch-dump.c
parent7d81d700426a76a1ccec107ea2c95d8c47d31465 (diff)
parenta33ec9ce40ff6304d620d391593357f22dcebbf0 (diff)
Merge branch 'release'
bugfix release being built up on release.
Diffstat (limited to 'notmuch-dump.c')
-rw-r--r--notmuch-dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-dump.c b/notmuch-dump.c
index 2849eaba..887a2082 100644
--- a/notmuch-dump.c
+++ b/notmuch-dump.c
@@ -169,7 +169,7 @@ notmuch_database_dump (notmuch_database_t *notmuch,
}
if (output_file_name) {
- ret = fdatasync (outfd);
+ ret = fsync (outfd);
if (ret) {
fprintf (stderr, "Error syncing %s to disk: %s\n",
name_for_error, strerror (errno));