summary refs log tree commit diff
path: root/sysdeps/stub/sched_rr_gi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/sched_rr_gi.c')
-rw-r--r--sysdeps/stub/sched_rr_gi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/stub/sched_rr_gi.c b/sysdeps/stub/sched_rr_gi.c
index b818561287..f23aacbda4 100644
--- a/sysdeps/stub/sched_rr_gi.c
+++ b/sysdeps/stub/sched_rr_gi.c
@@ -25,7 +25,7 @@ Boston, MA 02111-1307, USA.  */
 int
 __sched_rr_get_interval (pid_t pid, struct timespec *t)
 {
-  errno = ENOSYS;
+  __set_errno (ENOSYS);
   return -1;
 }
 stub_warning (sched_rr_get_interval)