summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>2018-02-17 17:27:18 +0100
committerJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>2018-02-17 17:58:16 +0100
commita9cddbcfcfdc3c63d093fcca012fe7cf6fa47ebb (patch)
tree774fe609b4e1ee0a9b1a90a2ba44423c06ce9f73
parenta4fb64a9ffa6e07ab56c55518234dd89661134c1 (diff)
downloadrust-libc-a9cddbcfcfdc3c63d093fcca012fe7cf6fa47ebb.tar.gz
Prefer hexadecimal representation of O_TMPFILE on linux-sparc64
-rw-r--r--src/unix/notbsd/linux/other/b64/sparc64.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/notbsd/linux/other/b64/sparc64.rs b/src/unix/notbsd/linux/other/b64/sparc64.rs
index 819246ea9b..206a0ce602 100644
--- a/src/unix/notbsd/linux/other/b64/sparc64.rs
+++ b/src/unix/notbsd/linux/other/b64/sparc64.rs
@@ -145,7 +145,7 @@ pub const O_DSYNC: ::c_int = 0x2000;
pub const O_FSYNC: ::c_int = 0x802000;
pub const O_NOATIME: ::c_int = 0x200000;
pub const O_PATH: ::c_int = 0x1000000;
-pub const O_TMPFILE: ::c_int = 0o200000000 | O_DIRECTORY;
+pub const O_TMPFILE: ::c_int = 0x2000000 | O_DIRECTORY;
pub const MAP_GROWSDOWN: ::c_int = 0x0200;