diff --git a/monitor.c b/monitor.c index 2559a62597..41a83e6def 100644 --- a/monitor.c +++ b/monitor.c @@ -3229,7 +3229,7 @@ struct QemuErrorSink { QemuErrorSink *previous; }; -static __thread QemuErrorSink *qemu_error_sink; +static QemuErrorSink *qemu_error_sink; void qemu_errors_to_file(FILE *fp) {