summaryrefslogtreecommitdiff
path: root/sysdeps/stub/setrlimit.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/setrlimit.c')
-rw-r--r--sysdeps/stub/setrlimit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/stub/setrlimit.c b/sysdeps/stub/setrlimit.c
index 79b96235b7..5978602906 100644
--- a/sysdeps/stub/setrlimit.c
+++ b/sysdeps/stub/setrlimit.c
@@ -27,7 +27,7 @@ setrlimit (resource, rlimits)
enum __rlimit_resource resource;
struct rlimit *rlimits;
{
- errno = ENOSYS;
+ __set_errno (ENOSYS);
return -1;
}