summaryrefslogtreecommitdiff
path: root/sysdeps/stub/sched_setp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/sched_setp.c')
-rw-r--r--sysdeps/stub/sched_setp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/stub/sched_setp.c b/sysdeps/stub/sched_setp.c
index 513c717b03..c29bcc7149 100644
--- a/sysdeps/stub/sched_setp.c
+++ b/sysdeps/stub/sched_setp.c
@@ -25,7 +25,7 @@ Boston, MA 02111-1307, USA. */
int
__sched_setparam (pid_t pid, const struct sched_param *param)
{
- errno = ENOSYS;
+ __set_errno (ENOSYS);
return -1;
}
stub_warning (sched_setparam)