aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/stub/ulimit.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/ulimit.c')
-rw-r--r--sysdeps/stub/ulimit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/stub/ulimit.c b/sysdeps/stub/ulimit.c
index 84633c4..e633a6a 100644
--- a/sysdeps/stub/ulimit.c
+++ b/sysdeps/stub/ulimit.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1996 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -32,7 +32,7 @@ __ulimit (cmd, newlimit)
int cmd;
long int newlimit;
{
- errno = ENOSYS;
+ __set_errno (ENOSYS);
return -1;
}
weak_alias (__ulimit, ulimit)