diff options
author | edef <edef@unfathomable.blue> | 2022-07-28 01:10:08 +0000 |
---|---|---|
committer | edef <edef@unfathomable.blue> | 2022-07-29 11:30:23 +0000 |
commit | 261431020b687e4fab500a51c868c22f7054c2a3 (patch) | |
tree | d33c9601d1e0373c314c0e6b734e1b9604de76db | |
parent | 2a091d6689ed8f85b14d858abe2f31abe9f6a218 (diff) | |
download | unf-legacy-261431020b687e4fab500a51c868c22f7054c2a3.tar.zst |
ripple/minitrace: pluralise newfstatat flags parameter
Change-Id: I025b5f707b15933c4dccdf36ce9e2c8d8673fe74
-rw-r--r-- | ripple/minitrace/src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ripple/minitrace/src/main.rs b/ripple/minitrace/src/main.rs index aa761de..7fa5ec7 100644 --- a/ripple/minitrace/src/main.rs +++ b/ripple/minitrace/src/main.rs @@ -250,7 +250,7 @@ define_syscalls! { fn set_tid_address(tidptr: *mut i32) -> i64 = 218; fn exit_group(error_code: i32) -> i64 = 231; fn openat(dfd: FileDesc, filename: *const u8, flags: OpenFlags, mode: u16) -> i64 = 257; - fn newfstatat(dfd: FileDesc, filename: *const u8, statbuf: *mut Stat, flag: i32) -> i64 = 262; + fn newfstatat(dfd: FileDesc, filename: *const u8, statbuf: *mut Stat, flags: i32) -> i64 = 262; fn set_robust_list(head: *mut RobustListHead, len: usize) -> i64 = 273; fn prlimit64(pid: i32, resource: u32, new_rlim: *const RLimit64, old_rlim: *mut RLimit64) -> i64 = 302; fn getrandom(ubuf: *mut u8, len: usize, flags: GrndFlags) -> i64 = 318; @@ -415,7 +415,7 @@ fn check_syscall(process: &Process, entry: SyscallEntry) -> bool { dfd, filename, statbuf: _, - flag: _, + flags: _, } => { let pathname = process.read_mem_cstr(filename as u64).unwrap(); if dfd == AT_FDCWD { |