aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sim/or1k/sim-if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/or1k/sim-if.c b/sim/or1k/sim-if.c
index d698d70..799812b 100644
--- a/sim/or1k/sim-if.c
+++ b/sim/or1k/sim-if.c
@@ -244,7 +244,7 @@ sim_open (SIM_OPEN_KIND kind, host_callback *callback, struct bfd *abfd,
}
/* Do some final OpenRISC sim specific initializations. */
- for (c = 0; c < MAX_NR_PROCESSORS; ++c)
+ for (i = 0; i < MAX_NR_PROCESSORS; ++i)
{
SIM_CPU *cpu = STATE_CPU (sd, i);
/* Only needed for profiling, but the structure member is small. */