From f6c59017cc80dd9ef7f3fec6c68a77bbe2fd2600 Mon Sep 17 00:00:00 2001 From: mohanson Date: Wed, 22 May 2024 09:36:21 +0800 Subject: [PATCH] Adjust arguments order for spawn --- src/syscalls/native.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/syscalls/native.rs b/src/syscalls/native.rs index 4cc0a36..3bbf950 100644 --- a/src/syscalls/native.rs +++ b/src/syscalls/native.rs @@ -601,16 +601,16 @@ pub struct SpawnArgs { pub fn spawn( index: usize, source: Source, - bounds: usize, place: usize, + bounds: usize, spgs: &mut SpawnArgs, ) -> Result { let ret = unsafe { syscall( index as u64, source as u64, - bounds as u64, place as u64, + bounds as u64, spgs as *mut SpawnArgs as u64, 0, 0,