From dde2ff0ebe8c68ae1933091a422a27b12cf47c45 Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Wed, 28 Aug 2024 20:42:27 +0800 Subject: [PATCH] xous: ffi: correct syscall number for adjust_process The AdjustProcessLimit syscall was using the correct call number. Signed-off-by: Sean Cross --- std/src/os/xous/ffi.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/src/os/xous/ffi.rs b/std/src/os/xous/ffi.rs index 1a4a940bf358a..1db314e9ddad7 100644 --- a/std/src/os/xous/ffi.rs +++ b/std/src/os/xous/ffi.rs @@ -615,7 +615,7 @@ pub(crate) fn thread_id() -> Result { /// 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 { - 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;