Revision 4817d327 posix-aio-compat.c

b/posix-aio-compat.c
501 501
{
502 502
    if (posix_aio_state) {
503 503
        char byte = 0;
504
        ssize_t ret;
504 505

  
505
        write(posix_aio_state->wfd, &byte, sizeof(byte));
506
        ret = write(posix_aio_state->wfd, &byte, sizeof(byte));
507
        if (ret < 0 && errno != EAGAIN)
508
            die("write()");
506 509
    }
507 510

  
508 511
    qemu_service_io();

Also available in: Unified diff