Skip to content

Commit

Permalink
Adjust arguments order for spawn (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohanson committed May 22, 2024
1 parent c6296b3 commit ac1eea0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/syscalls/native.rs
Original file line number Diff line number Diff line change
Expand Up @@ -601,16 +601,16 @@ pub struct SpawnArgs {
pub fn spawn(
index: usize,
source: Source,
bounds: usize,
place: usize,
bounds: usize,
spgs: &mut SpawnArgs,
) -> Result<u64, SysError> {
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,
Expand Down

0 comments on commit ac1eea0

Please sign in to comment.