Skip to content

Commit

Permalink
xous: ffi: correct syscall number for adjust_process
Browse files Browse the repository at this point in the history
The AdjustProcessLimit syscall was using the correct call number.

Signed-off-by: Sean Cross <[email protected]>
  • Loading branch information
xobs committed Oct 13, 2024
1 parent c3955e4 commit dde2ff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/src/os/xous/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ pub(crate) fn thread_id() -> Result<ThreadId, Error> {
/// An error is generated if the `knob` is not a valid limit, or if the call
/// would not succeed.
pub(crate) fn adjust_limit(knob: Limits, current: usize, new: usize) -> Result<usize, Error> {
let mut a0 = Syscall::JoinThread as usize;
let mut a0 = Syscall::AdjustProcessLimit as usize;
let mut a1 = knob as usize;
let a2 = current;
let a3 = new;
Expand Down

0 comments on commit dde2ff0

Please sign in to comment.