diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-02-17 10:49:01 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-02-17 10:49:01 +0000 |
commit | 0dccbee4ebd749c5a3408be7594226db9f9c2005 (patch) | |
tree | 3962d3018e2aa93e404e5458a27813e704668098 /libc/sysdeps/linux/common | |
parent | 3aa16a1146c008ed07750a30dc2f68c3a7d010c5 (diff) |
Fixup fdatasync on alpha, thanks to Alan Hourihane
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r-- | libc/sysdeps/linux/common/fdatasync.c | 7 |
1 files changed, 7 insertions, 0 deletions
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 <unistd.h> + +#if defined (__alpha__) +#undef __NR_fdatasync +#define __NR_fdatasync __NR_osf_fdatasync +#endif + _syscall1(int, fdatasync, int, fd); + |