]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-dump.c
lib: Index name and address of from/to headers as a phrase
[notmuch] / notmuch-dump.c
index 2849eabaadb9b292b0eab8e4dab6c10d4b26398d..887a20822d828ef6dab98f58f156e37bebefdf06 100644 (file)
@@ -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));