summaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/config.h b/src/config.h
index c23f1c789..ee3ad508e 100644
--- a/src/config.h
+++ b/src/config.h
@@ -87,11 +87,11 @@
#endif
#endif
-/* Define aof_fsync to fdatasync() in Linux and fsync() for all the rest */
+/* Define redis_fsync to fdatasync() in Linux and fsync() for all the rest */
#ifdef __linux__
-#define aof_fsync fdatasync
+#define redis_fsync fdatasync
#else
-#define aof_fsync fsync
+#define redis_fsync fsync
#endif
/* Define rdb_fsync_range to sync_file_range() on Linux, otherwise we use