diff --git a/sched/signal/sig_pause.c b/sched/signal/sig_pause.c index 5a83f1a735..62b90c2935 100644 --- a/sched/signal/sig_pause.c +++ b/sched/signal/sig_pause.c @@ -74,7 +74,6 @@ int pause(void) { - struct siginfo value; sigset_t set; int ret; @@ -93,7 +92,7 @@ int pause(void) * meaning that some unblocked signal was caught. */ - ret = sigwaitinfo(&set, &value); + ret = sigwaitinfo(&set, NULL); leave_cancellation_point(); return ret; }