Fix old cut and paste bug.

Change-Id: Id06fb98ed3dd1b3987e4eafa0ec271c1cd77fef6
log_output
Tim Newsome 2019-02-11 14:04:21 -08:00
parent b701705ea8
commit e96f4b1b06
1 changed files with 1 additions and 1 deletions

View File

@ -1013,7 +1013,7 @@ static int riscv_run_algorithm(struct target *target, int num_mem_params,
uint64_t saved_regs[32];
for (int i = 0; i < num_reg_params; i++) {
if (mem_params[i].direction == PARAM_IN)
if (reg_params[i].direction == PARAM_IN)
continue;
LOG_DEBUG("save %s", reg_params[i].reg_name);