From 261431020b687e4fab500a51c868c22f7054c2a3 Mon Sep 17 00:00:00 2001 From: edef Date: Thu, 28 Jul 2022 01:10:08 +0000 Subject: ripple/minitrace: pluralise newfstatat flags parameter Change-Id: I025b5f707b15933c4dccdf36ce9e2c8d8673fe74 --- ripple/minitrace/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ripple/minitrace') 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 { -- cgit 1.4.1