aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrashanth Mundkur <prashanth.mundkur@gmail.com>2019-05-29 15:30:50 -0700
committerGitHub <noreply@github.com>2019-05-29 15:30:50 -0700
commit65085e894d4affeb41b6758680ca1b265e92d14c (patch)
treefe167c0aa8a647bfd0d626254b0911d9423dd34c
parentf4fe5357027a9a0ba059759b359ebc8770baf21f (diff)
parent4494cdd25df02b4e45d6dfd8d1396dd57a515cc1 (diff)
downloadsail-riscv-65085e894d4affeb41b6758680ca1b265e92d14c.zip
sail-riscv-65085e894d4affeb41b6758680ca1b265e92d14c.tar.gz
sail-riscv-65085e894d4affeb41b6758680ca1b265e92d14c.tar.bz2
Merge pull request #9 from scottj97/fix-sigfile-printf
Display correct filename in message when using -T
-rw-r--r--c_emulator/riscv_sim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c_emulator/riscv_sim.c b/c_emulator/riscv_sim.c
index 69f7423..da8b73c 100644
--- a/c_emulator/riscv_sim.c
+++ b/c_emulator/riscv_sim.c
@@ -224,7 +224,7 @@ char *process_args(int argc, char **argv)
break;
case 'T':
sig_file = strdup(optarg);
- fprintf(stderr, "using %s for test-signature output.\n", term_log);
+ fprintf(stderr, "using %s for test-signature output.\n", sig_file);
break;
case 'h':
print_usage(argv[0], 0);