about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@bell.net>2014-08-10 10:00:23 -0400
committerMike Frysinger <vapier@gentoo.org>2014-08-10 10:00:23 -0400
commit7aaf74a47f7a851329eda4c1e39c9074e2e9e18f (patch)
tree0e89c18b16692d61f42c36242508e6ee530f9d21
parentbb18aaeae7ba7f46ac2897889ee92b3f551fc0b4 (diff)
downloadglibc-7aaf74a47f7a851329eda4c1e39c9074e2e9e18f.tar.gz
glibc-7aaf74a47f7a851329eda4c1e39c9074e2e9e18f.tar.xz
glibc-7aaf74a47f7a851329eda4c1e39c9074e2e9e18f.zip
hppa: fix __O_SYNC to match the kernel
-rw-r--r--ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h b/ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
index f596d5f100..24b564cb0c 100644
--- a/ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
+++ b/ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
@@ -27,7 +27,7 @@
 #define O_NONBLOCK	00200004 /* HPUX has separate NDELAY & NONBLOCK */
 #define __O_DSYNC	01000000
 #define __O_RSYNC	02000000 /* HPUX only */
-#define __O_SYNC	01000000
+#define __O_SYNC	00100000
 #define O_SYNC		(__O_SYNC|__O_DSYNC)
 
 #define O_BLKSEEK	00000100 /* HPUX only */