Browse Source

cpus: add one 'const'

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
stable-0.13
Blue Swirl 16 years ago
parent
commit
26a823305d
  1. 2
      cpus.c

2
cpus.c

@ -147,7 +147,7 @@ static int io_thread_fd = -1;
static void qemu_event_increment(void)
{
/* Write 8 bytes to be compatible with eventfd. */
static uint64_t val = 1;
static const uint64_t val = 1;
ssize_t ret;
if (io_thread_fd == -1)

Loading…
Cancel
Save