diff options
-rw-r--r-- | byterun/startup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/byterun/startup.c b/byterun/startup.c index 6117ff7a3..feb5029ae 100644 --- a/byterun/startup.c +++ b/byterun/startup.c @@ -370,12 +370,12 @@ CAMLexport void caml_main(char **argv) fd = caml_attempt_open(&exe_name, &trail, 1); switch(fd) { case FILE_NOT_FOUND: - caml_fatal_error_arg("Fatal error: cannot find file %s\n", argv[pos]); + caml_fatal_error_arg("Fatal error: cannot find file '%s'\n", argv[pos]); break; case BAD_BYTECODE: caml_fatal_error_arg( - "Fatal error: the file %s is not a bytecode executable file\n", - argv[pos]); + "Fatal error: the file '%s' is not a bytecode executable file\n", + exe_name); break; } } |