summaryrefslogtreecommitdiff
path: root/riscv/platform_main.ml
diff options
context:
space:
mode:
authorPrashanth Mundkur2018-06-11 16:06:11 -0700
committerPrashanth Mundkur2018-06-11 16:06:11 -0700
commitbe54131898dcf13b9f10da55bd3175d84ff99ae4 (patch)
tree457e470366d7a7f42ea131be80aefe267cfdb1d9 /riscv/platform_main.ml
parent665e32897a4564fd27e0048af3ade274e9001052 (diff)
Put the riscv model's output on stderr, leaving stdout for the platform terminal.
Diffstat (limited to 'riscv/platform_main.ml')
-rw-r--r--riscv/platform_main.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/platform_main.ml b/riscv/platform_main.ml
index cb379cdd..c4421cce 100644
--- a/riscv/platform_main.ml
+++ b/riscv/platform_main.ml
@@ -64,7 +64,7 @@ let elf_arg =
Arg.parse options (fun s -> opt_file_arguments := !opt_file_arguments @ [s])
usage_msg;
( match !opt_file_arguments with
- | f :: _ -> print_endline ("Loading ELF file " ^ f); f
+ | f :: _ -> prerr_endline ("Loading ELF file " ^ f); f
| _ -> (prerr_endline "Please provide an ELF file."; exit 0)
)