diff options
Diffstat (limited to 'nptl/pt-pause.c')
-rw-r--r-- | nptl/pt-pause.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/nptl/pt-pause.c b/nptl/pt-pause.c index dbc6250789..bb878f0500 100644 --- a/nptl/pt-pause.c +++ b/nptl/pt-pause.c @@ -27,12 +27,9 @@ int pause (void) { - int oldtype; - int result; + int oldtype = CANCEL_ASYNC (); - CANCEL_ASYNC (oldtype); - - result = __libc_pause (); + int result = __libc_pause (); CANCEL_RESET (oldtype); |