summaryrefslogtreecommitdiffstats
path: root/stdlib/header.c
diff options
context:
space:
mode:
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;
}