aboutsummaryrefslogtreecommitdiff
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-09 10:02:06 -0500
commitc24bbd6de049a351efdb2a04f57a0000970f17b3 (patch)
treefedd602d55397659e0a3fa9b9bdc8073dcb43ea8
parent204f030682dceefc37a29f6915e5175cb45784af (diff)
downloadglibc-c24bbd6de049a351efdb2a04f57a0000970f17b3.tar
glibc-c24bbd6de049a351efdb2a04f57a0000970f17b3.tar.gz
glibc-c24bbd6de049a351efdb2a04f57a0000970f17b3.tar.bz2
glibc-c24bbd6de049a351efdb2a04f57a0000970f17b3.zip
hppa: fix __O_SYNC to match the kernel
-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 */