xous: ffi: correct syscall number for adjust_process · qinheping/verify-rust-std@dde2ff0 (original) (raw)
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -615,7 +615,7 @@ pub(crate) fn thread_id() -> Result<ThreadId, Error> { | ||
615 | 615 | /// An error is generated if the `knob` is not a valid limit, or if the call |
616 | 616 | /// would not succeed. |
617 | 617 | pub(crate) fn adjust_limit(knob: Limits, current: usize, new: usize) -> Result<usize, Error> { |
618 | -let mut a0 = Syscall::JoinThread as usize; | |
618 | +let mut a0 = Syscall::AdjustProcessLimit as usize; | |
619 | 619 | let mut a1 = knob as usize; |
620 | 620 | let a2 = current; |
621 | 621 | let a3 = new; |