aboutsummaryrefslogtreecommitdiff
path: root/block-raw-posix.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-24 11:54:21 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-24 11:54:21 +0000
commit55f11ca3c21827fe046b54a09d9ad5a897bbb7ad (patch)
tree269876c4cadfddb39e2c1286d01f227b2caa1227 /block-raw-posix.c
parent0da2ea1b37622ea6608031b5cd9dcca8f1b0e12d (diff)
Rename sigev_signo to avoid FreeBSD problems (Juergen Lock)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6414 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'block-raw-posix.c')
-rw-r--r--block-raw-posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block-raw-posix.c b/block-raw-posix.c
index 9e3d66f4ca..4404eb15bf 100644
--- a/block-raw-posix.c
+++ b/block-raw-posix.c
@@ -579,7 +579,7 @@ static RawAIOCB *raw_aio_setup(BlockDriverState *bs,
if (!acb)
return NULL;
acb->aiocb.aio_fildes = s->fd;
- acb->aiocb.sigev_signo = SIGUSR2;
+ acb->aiocb.ev_signo = SIGUSR2;
acb->aiocb.aio_buf = buf;
if (nb_sectors < 0)
acb->aiocb.aio_nbytes = -nb_sectors;