From b0fe3ab09508534521aa4aed23b053038b552ff9 Mon Sep 17 00:00:00 2001
From: Ron Williams <ron.williams.redox@gmail.com>
Date: Fri, 14 Apr 2023 15:21:15 -0700
Subject: [PATCH] fix typo in linux setrlimit

---
 src/platform/linux/mod.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/platform/linux/mod.rs b/src/platform/linux/mod.rs
index 5bcc1032a..eb146ac78 100644
--- a/src/platform/linux/mod.rs
+++ b/src/platform/linux/mod.rs
@@ -268,7 +268,7 @@ impl Pal for Sys {
     }
 
     unsafe fn setrlimit(resource: c_int, rlimit: *const rlimit) -> c_int {
-        e(syscall!(SETRLIMIT, resource, rlim)) as c_int
+        e(syscall!(SETRLIMIT, resource, rlimit)) as c_int
     }
 
     fn getsid(pid: pid_t) -> pid_t {
-- 
GitLab