aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-command.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/sim-command.c')
-rw-r--r--sim/common/sim-command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/sim-command.c b/sim/common/sim-command.c
index 7fa2b1f..86eac03 100644
--- a/sim/common/sim-command.c
+++ b/sim/common/sim-command.c
@@ -26,7 +26,7 @@
which add custom options via sim_add_option_table(). */
void
-sim_do_command (SIM_DESC sd, char *cmd)
+sim_do_command (SIM_DESC sd, const char *cmd)
{
if (sim_args_command (sd, cmd) != SIM_RC_OK)
sim_io_eprintf (sd, "Unknown sim command: \"%s\". Try \"sim help\".\n",