OSDN Git Service

minor cleanup
authorEric Andersen <andersen@codepoet.org>
Mon, 1 Sep 2003 19:57:31 +0000 (19:57 -0000)
committerEric Andersen <andersen@codepoet.org>
Mon, 1 Sep 2003 19:57:31 +0000 (19:57 -0000)
test/unistd/vfork.c

index c7d409a..6239e3f 100644 (file)
@@ -34,9 +34,11 @@ int main(void)
        int status, wpid;
        char *argv[] = {
                "/bin/ls",
+               "-laF",
                NULL,
        };
 
+       clearenv();
        if ((pid = vfork()) == 0) {
                printf("Hi.  I'm the child process...\n");
                execvp(argv[0], argv);