summaryrefslogtreecommitdiff
path: root/test/unistd/vfork.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-09-01 19:57:31 +0000
committerEric Andersen <andersen@codepoet.org>2003-09-01 19:57:31 +0000
commitcea5b5c0657e999b561a6438c77861e00689b306 (patch)
tree0c228f38235f4abf88ab6732dc274b6ef06fdc3e /test/unistd/vfork.c
parente3933b5e29f8814ae04713596591ff3180b285b3 (diff)
minor cleanup
Diffstat (limited to 'test/unistd/vfork.c')
-rw-r--r--test/unistd/vfork.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unistd/vfork.c b/test/unistd/vfork.c
index c7d409adb..6239e3f02 100644
--- a/test/unistd/vfork.c
+++ b/test/unistd/vfork.c
@@ -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);