summaryrefslogtreecommitdiff
path: root/libc/stdlib/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/system.c')
-rw-r--r--libc/stdlib/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/system.c b/libc/stdlib/system.c
index ec25ead73..151a229c6 100644
--- a/libc/stdlib/system.c
+++ b/libc/stdlib/system.c
@@ -61,7 +61,7 @@ int __libc_system(const char *command)
__printf("Waiting for child %d\n", pid);
#endif
- if (wait4(pid, &wait_val, 0, 0) == -1)
+ if (__wait4_nocancel(pid, &wait_val, 0, 0) == -1)
wait_val = -1;
out: