about summary refs log tree commit diff
path: root/linuxthreads/pt-system.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/pt-system.c')
-rw-r--r--linuxthreads/pt-system.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/linuxthreads/pt-system.c b/linuxthreads/pt-system.c
index bc5098adc0..3a5f46c4f8 100644
--- a/linuxthreads/pt-system.c
+++ b/linuxthreads/pt-system.c
@@ -25,8 +25,5 @@
 int
 system (const char *line)
 {
-  int oldtype = LIBC_CANCEL_ASYNC ();
-  int result = __libc_system (line);
-  LIBC_CANCEL_RESET (oldtype);
-  return result;
+  return __libc_system (line);
 }