diff options
| author | Sean Cross <sean@xobs.io> | 2024-08-28 20:42:27 +0800 |
|---|---|---|
| committer | Sean Cross <sean@xobs.io> | 2024-10-13 22:24:51 +0800 |
| commit | 4c23cdf7415c0f81b17dd534b59ecc3f7cd5db15 (patch) | |
| tree | aa1b9139c63db7145fb4b2effb448ffba8471cd7 /library/std/src | |
| parent | 3d00c5cd5e2ceb0d5b87a8754af3dff45de0b32b (diff) | |
| download | rust-4c23cdf7415c0f81b17dd534b59ecc3f7cd5db15.tar.gz rust-4c23cdf7415c0f81b17dd534b59ecc3f7cd5db15.zip | |
xous: ffi: correct syscall number for adjust_process
The AdjustProcessLimit syscall was using the correct call number. Signed-off-by: Sean Cross <sean@xobs.io>
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/os/xous/ffi.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/os/xous/ffi.rs b/library/std/src/os/xous/ffi.rs index 1a4a940bf35..1db314e9dda 100644 --- a/library/std/src/os/xous/ffi.rs +++ b/library/std/src/os/xous/ffi.rs @@ -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; |
