Skip to content

Commit 378652f

Browse files
bogglebrson
authored andcommitted
Fixed typo in constant value #1165
1 parent d335d1a commit 378652f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/macos_os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ mod libc_constants {
3535
const O_RDWR: int = 2;
3636
const O_APPEND: int = 8;
3737
const O_CREAT: int = 512;
38-
const O_EXCL: int = 248;
38+
const O_EXCL: int = 2048;
3939
const O_TRUNC: int = 1024;
4040
const O_TEXT: int = 0; // nonexistent in darwin libc
4141
const O_BINARY: int = 0; // nonexistent in darwin libc

0 commit comments

Comments
 (0)