From 72b2516d10d472ac77482fd959a9401ce3487f60 Mon Sep 17 00:00:00 2001 From: William McSpaddden Date: Thu, 30 Mar 2023 11:26:15 -0500 Subject: [PATCH] fixed an issue with the -g switch which requires an argument. missing colon in string arg to getopt_long() --- c_emulator/riscv_sim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c_emulator/riscv_sim.c b/c_emulator/riscv_sim.c index 5ad83e95b..9a37c18e1 100644 --- a/c_emulator/riscv_sim.c +++ b/c_emulator/riscv_sim.c @@ -233,7 +233,7 @@ char *process_args(int argc, char **argv) "b:" "t:" "T:" - "g" + "g:" "h" #ifdef RVFI_DII "r:"