From a9cddbcfcfdc3c63d093fcca012fe7cf6fa47ebb Mon Sep 17 00:00:00 2001
From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Date: Sat, 17 Feb 2018 17:27:18 +0100
Subject: [PATCH] Prefer hexadecimal representation of O_TMPFILE on
 linux-sparc64

---
 src/unix/notbsd/linux/other/b64/sparc64.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/unix/notbsd/linux/other/b64/sparc64.rs b/src/unix/notbsd/linux/other/b64/sparc64.rs
index 819246ea..206a0ce6 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;
 
-- 
GitLab