diff options
Diffstat (limited to 'userland/libc/stdlib/system.c')
-rw-r--r-- | userland/libc/stdlib/system.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/userland/libc/stdlib/system.c b/userland/libc/stdlib/system.c index 1cba966..c35bee5 100644 --- a/userland/libc/stdlib/system.c +++ b/userland/libc/stdlib/system.c @@ -1,10 +1,11 @@ #include <stdlib.h> -#include <unistd.h> #include <sys/wait.h> +#include <unistd.h> int system(const char *command) { - if (!command) + if (!command) { return NULL; + } int pid = fork(); if (0 == pid) { char *argv[2]; |