Skip to content
/ rust Public
forked from rust-lang/rust

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 <[email protected]>
1 parent 3d00c5c commit 4c23cdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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) 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;
619619
let mut a1 = knob as usize;
620620
let a2 = current;
621621
let a3 = new;

0 commit comments

Comments
 (0)