summary refs log tree commit diff
path: root/ripple/minitrace/src
diff options
context:
space:
mode:
Diffstat (limited to 'ripple/minitrace/src')
-rw-r--r--ripple/minitrace/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ripple/minitrace/src/main.rs b/ripple/minitrace/src/main.rs
index 7d6a41c..71b6ef2 100644
--- a/ripple/minitrace/src/main.rs
+++ b/ripple/minitrace/src/main.rs
@@ -352,7 +352,7 @@ fn main() -> Result<()> {
 					}
 				};
 
-				if !check_syscall(&process, &entry) {
+				if !check_syscall(&entry) {
 					ptrace::kill(event_tid.as_pid())?;
 					panic!("invalid syscall {entry:?}");
 				}
@@ -385,7 +385,7 @@ fn main() -> Result<()> {
 
 const AT_FDCWD: i32 = -100;
 
-fn check_syscall(process: &Process, entry: &SyscallEntry) -> bool {
+fn check_syscall(entry: &SyscallEntry) -> bool {
 	match *entry {
 		SyscallEntry::mmap {
 			addr: _,