summaryrefslogtreecommitdiffstats
path: root/contrib/qemu/util/cutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/qemu/util/cutils.c')
-rw-r--r--contrib/qemu/util/cutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/qemu/util/cutils.c b/contrib/qemu/util/cutils.c
index 0116fcde74f..6caa4b8ddc4 100644
--- a/contrib/qemu/util/cutils.c
+++ b/contrib/qemu/util/cutils.c
@@ -156,7 +156,7 @@ int qemu_fls(int i)
*/
int qemu_fdatasync(int fd)
{
-#ifdef CONFIG_FDATASYNC
+#ifdef HAVE_FDATASYNC
return fdatasync(fd);
#else
return fsync(fd);