aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/stub/sched_primax.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/sched_primax.c')
-rw-r--r--sysdeps/stub/sched_primax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/stub/sched_primax.c b/sysdeps/stub/sched_primax.c
index 7ff5af3731..cf76994cf5 100644
--- a/sysdeps/stub/sched_primax.c
+++ b/sysdeps/stub/sched_primax.c
@@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA. */
int
__sched_get_priority_max (int algorithm)
{
- errno = ENOSYS;
+ __set_errno (ENOSYS);
return -1;
}
stub_warning (sched_get_priority_max)