From 0dccbee4ebd749c5a3408be7594226db9f9c2005 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 17 Feb 2004 10:49:01 +0000 Subject: Fixup fdatasync on alpha, thanks to Alan Hourihane --- libc/sysdeps/linux/common/fdatasync.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libc') diff --git a/libc/sysdeps/linux/common/fdatasync.c b/libc/sysdeps/linux/common/fdatasync.c index 5695c5090..610780893 100644 --- a/libc/sysdeps/linux/common/fdatasync.c +++ b/libc/sysdeps/linux/common/fdatasync.c @@ -9,4 +9,11 @@ #include "syscalls.h" #include + +#if defined (__alpha__) +#undef __NR_fdatasync +#define __NR_fdatasync __NR_osf_fdatasync +#endif + _syscall1(int, fdatasync, int, fd); + -- cgit v1.2.3