diff options
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -111,7 +111,7 @@ System(char *s) int pid, status; if ((pid = fork ()) == 0) { (void) setpgrp(); - execl ("/bin/sh", "sh", "-c", s, 0); + execl ("/bin/sh", "sh", "-c", s, NULL); } else waitpid (pid, &status, 0); return status; |