diff options
Diffstat (limited to 'nptl/pt-system.c')
-rw-r--r-- | nptl/pt-system.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/nptl/pt-system.c b/nptl/pt-system.c index 2572c477c8..d02f451893 100644 --- a/nptl/pt-system.c +++ b/nptl/pt-system.c @@ -27,12 +27,9 @@ int system (const char *line) { - int oldtype; - int result; + int oldtype = CANCEL_ASYNC (); - CANCEL_ASYNC (oldtype); - - result = __libc_system (line); + int result = __libc_system (line); CANCEL_RESET (oldtype); |