diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-09-20 06:56:26 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-09-20 06:56:26 +0000 |
commit | 5f6b9e8fd5b9516170e582d9b6c27c98519a8031 (patch) | |
tree | 2b9b054a84cf329bf1fa28167d5ecfffa44e8ad2 /cutils.c | |
parent | cdd0935cbd345364fc6265feaa5814790947b7f9 (diff) |
Probe for fdatasync()
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'cutils.c')
-rw-r--r-- | cutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -124,7 +124,7 @@ int qemu_fls(int i) */ int qemu_fdatasync(int fd) { -#ifdef _POSIX_SYNCHRONIZED_IO +#ifdef CONFIG_FDATASYNC return fdatasync(fd); #else return fsync(fd); |