aboutsummaryrefslogtreecommitdiffstats
path: root/src/sim
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/core.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sim/core.c b/src/sim/core.c
index 63b3000b..b93633c1 100644
--- a/src/sim/core.c
+++ b/src/sim/core.c
@@ -300,8 +300,7 @@ ret_def:
char *osim_print_sw(const struct osim_card_hdl *ch, uint16_t sw_in)
{
- /* FIXME: do we want to mark this as __thread? */
- static char sw_print_buf[256];
+ static __thread char sw_print_buf[256];
return osim_print_sw_buf(sw_print_buf, sizeof(sw_print_buf), ch, sw_in);
}