Skip to content

Commit 3175cff

Browse files
authored
Merge pull request #11 from eupn/patch-1
ffi.rs: fix copy & paste error
2 parents 4acb0aa + bda208a commit 3175cff

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
@@ -612,7 +612,7 @@ pub(crate) fn thread_id() -> Result<ThreadId, Error> {
612612
/// An error is generated if the `knob` is not a valid limit, or if the call
613613
/// would not succeed.
614614
pub(crate) fn adjust_limit(knob: Limits, current: usize, new: usize) -> Result<usize, Error> {
615-
let mut a0 = Syscall::JoinThread as usize;
615+
let mut a0 = Syscall::AdjustProcessLimit as usize;
616616
let mut a1 = knob as usize;
617617
let a2 = current;
618618
let a3 = new;

0 commit comments

Comments
 (0)