diff options
Diffstat (limited to 'sim/common/sim-options.c')
-rw-r--r-- | sim/common/sim-options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/sim-options.c b/sim/common/sim-options.c index 8ace37a..94342e4 100644 --- a/sim/common/sim-options.c +++ b/sim/common/sim-options.c @@ -264,7 +264,7 @@ standard_option_handler (sd, opt, arg, is_command) case OPTION_TARGET: { - STATE_TARGET (sd) = strdup (arg); + STATE_TARGET (sd) = xstrdup (arg); break; } |