summaryrefslogtreecommitdiffstats
path: root/libc/stdlib/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/system.c')
-rw-r--r--libc/stdlib/system.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/stdlib/system.c b/libc/stdlib/system.c
index e268bf5ef..616d2dda6 100644
--- a/libc/stdlib/system.c
+++ b/libc/stdlib/system.c
@@ -1,5 +1,6 @@
#define wait4 __wait4
#define execl __execl
+#define signal __signal
#include <stdio.h>
#include <stddef.h>
@@ -44,7 +45,7 @@ int __libc_system(char *command)
signal(SIGINT, SIG_IGN);
#if 0
- printf("Waiting for child %d\n", pid);
+ __printf("Waiting for child %d\n", pid);
#endif
if (wait4(pid, &wait_val, 0, 0) == -1)