diff options
Diffstat (limited to 'ripple')
-rw-r--r-- | ripple/minitrace/src/main.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ripple/minitrace/src/main.rs b/ripple/minitrace/src/main.rs index cca16ec..01564d4 100644 --- a/ripple/minitrace/src/main.rs +++ b/ripple/minitrace/src/main.rs @@ -478,11 +478,11 @@ fn check_syscall(process: &Process, entry: SyscallEntry) -> bool { syscall_bitflags! { struct OpenFlags: i32 { - const WRONLY = 0o00000001 => O_WRONLY; - const CREAT = 0o00000100 => O_CREAT; - const NOCTTY = 0o00000400 => O_NOCTTY; - const TRUNC = 0o00001000 => O_TRUNC; - const CLOEXEC = 0o02000000 => O_CLOEXEC; + const WRONLY = 1 << 0 => O_WRONLY; + const CREAT = 1 << 6 => O_CREAT; + const NOCTTY = 1 << 8 => O_NOCTTY; + const TRUNC = 1 << 9 => O_TRUNC; + const CLOEXEC = 1 << 19 => O_CLOEXEC; } struct GrndFlags: u32 { |