about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/hppa
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@bell.net>2014-08-10 10:00:23 -0400
committerMike Frysinger <vapier@gentoo.org>2015-02-27 01:46:01 -0500
commit49f476f4791ea6974a7f67bdc3251ab03822c2aa (patch)
tree903dbfe71f7b630fc3743c1209ac7965ca5216aa /sysdeps/unix/sysv/linux/hppa
parentf8ab5d38fdcbeaba4190ee5d8c768222a495978a (diff)
downloadglibc-49f476f4791ea6974a7f67bdc3251ab03822c2aa.tar.gz
glibc-49f476f4791ea6974a7f67bdc3251ab03822c2aa.tar.xz
glibc-49f476f4791ea6974a7f67bdc3251ab03822c2aa.zip
hppa: fix __O_SYNC to match the kernel
Diffstat (limited to 'sysdeps/unix/sysv/linux/hppa')
-rw-r--r--sysdeps/unix/sysv/linux/hppa/bits/fcntl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h b/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
index 9aad095acd..a800e28db2 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
+++ b/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 */