mirror of https://github.com/xqemu/xqemu.git
cpus: add one 'const'
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
af2960f942
commit
26a823305d
2
cpus.c
2
cpus.c
|
@ -147,7 +147,7 @@ static int io_thread_fd = -1;
|
||||||
static void qemu_event_increment(void)
|
static void qemu_event_increment(void)
|
||||||
{
|
{
|
||||||
/* Write 8 bytes to be compatible with eventfd. */
|
/* Write 8 bytes to be compatible with eventfd. */
|
||||||
static uint64_t val = 1;
|
static const uint64_t val = 1;
|
||||||
ssize_t ret;
|
ssize_t ret;
|
||||||
|
|
||||||
if (io_thread_fd == -1)
|
if (io_thread_fd == -1)
|
||||||
|
|
Loading…
Reference in New Issue