summaryrefslogtreecommitdiff
path: root/lib/libc_r/uthread/uthread_execve.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc_r/uthread/uthread_execve.c')
-rw-r--r--lib/libc_r/uthread/uthread_execve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc_r/uthread/uthread_execve.c b/lib/libc_r/uthread/uthread_execve.c
index 0d289a44ab999..0dbd4675e76d4 100644
--- a/lib/libc_r/uthread/uthread_execve.c
+++ b/lib/libc_r/uthread/uthread_execve.c
@@ -52,7 +52,7 @@ execve(const char *name, char *const * argv, char *const * envp)
itimer.it_interval.tv_usec = 0;
itimer.it_value.tv_sec = 0;
itimer.it_value.tv_usec = 0;
- setitimer(ITIMER_VIRTUAL, &itimer, NULL);
+ setitimer(_ITIMER_SCHED_TIMER, &itimer, NULL);
/* Close the pthread kernel pipe: */
_thread_sys_close(_thread_kern_pipe[0]);