summaryrefslogtreecommitdiffstats
path: root/stdlib/header.c
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>1996-02-01 15:04:36 +0000
committerXavier Leroy <xavier.leroy@inria.fr>1996-02-01 15:04:36 +0000
commitc7e175724668cef6c0010ece74becc8d9c29f8cd (patch)
tree9e66484b677f7076fb08364e721cf00700c3c01c /stdlib/header.c
parent97ef452fb6575cea5880aa59af35cef11ecabab5 (diff)
header.c: message d'erreur mal imprime.
pervasives.mli: MAJ doc. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@619 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 1169a02a1..7ceb931dc 100644
--- a/stdlib/header.c
+++ b/stdlib/header.c
@@ -19,6 +19,6 @@ int main(argc, argv)
char ** argv;
{
execvp(runtime_name, argv);
- write(2, errmsg, sizeof(errmsg)-1);
+ write(2, errmsg, strlen(errmsg));
return 2;
}