aboutsummaryrefslogtreecommitdiff
path: root/stubs/monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'stubs/monitor.c')
-rw-r--r--stubs/monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stubs/monitor.c b/stubs/monitor.c
index e018c8f594..3890771bb5 100644
--- a/stubs/monitor.c
+++ b/stubs/monitor.c
@@ -3,7 +3,7 @@
#include "qemu-common.h"
#include "monitor/monitor.h"
-Monitor *cur_mon = NULL;
+__thread Monitor *cur_mon;
int monitor_get_fd(Monitor *mon, const char *name, Error **errp)
{