Skip to content

Commit

Permalink
Merge pull request #11 from eupn/patch-1
Browse files Browse the repository at this point in the history
ffi.rs: fix copy & paste error
  • Loading branch information
xobs authored Aug 28, 2024
2 parents 4acb0aa + bda208a commit 3175cff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/os/xous/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,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 3175cff

Please sign in to comment.