diff --git a/src/sched.rs b/src/sched.rs index 303084460c..7216a2d887 100644 --- a/src/sched.rs +++ b/src/sched.rs @@ -205,7 +205,10 @@ pub fn clone(mut cb: CloneCb, stack: &mut [u8], flags: CloneFlags) -> Result isize>) -> i32), + ptr as *mut c_void, + flags.bits(), + &mut cb) }; Errno::result(res)