summaryrefslogtreecommitdiff
path: root/stdlib/header.c
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>1997-03-04 10:21:58 +0000
committerXavier Leroy <xavier.leroy@inria.fr>1997-03-04 10:21:58 +0000
commitf836e04fb1f4495c8081552a78d42283dd1a4775 (patch)
treedf6c3f8579f1f5da0aa705c5aa54e5102e98d424 /stdlib/header.c
parent73fafe47ff92b87fad1e887c5302d19fa31d37bb (diff)
downloadocaml-f836e04fb1f4495c8081552a78d42283dd1a4775.tar.gz
Du coup, execvp n'est plus necessaire, execv suffit.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1315 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/header.c')
-rw-r--r--stdlib/header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/header.c b/stdlib/header.c
index 9c31e8f7a4..9aba0684ff 100644
--- a/stdlib/header.c
+++ b/stdlib/header.c
@@ -18,7 +18,7 @@ int main(argc, argv)
int argc;
char ** argv;
{
- execvp(runtime_name, argv);
+ execv(runtime_name, argv);
write(2, errmsg, sizeof(errmsg)-1);
return 2;
}