Skip to content

Commit 4c23cdf

Browse files
committed
xous: ffi: correct syscall number for adjust_process
The AdjustProcessLimit syscall was using the correct call number. Signed-off-by: Sean Cross <sean@xobs.io>
1 parent 3d00c5c commit 4c23cdf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎library/std/src/os/xous/ffi.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ pub(crate) fn thread_id() -> Result<ThreadId, Error> {
615615
/// An error is generated if the `knob` is not a valid limit, or if the call
616616
/// would not succeed.
617617
pub(crate)fnadjust_limit(knob:Limits,current:usize,new:usize) -> Result<usize,Error>{
618-
letmut a0 = Syscall::JoinThreadasusize;
618+
letmut a0 = Syscall::AdjustProcessLimitasusize;
619619
letmut a1 = knob asusize;
620620
let a2 = current;
621621
let a3 = new;

0 commit comments

Comments
 (0)