linux-aio: Fix typo in read() EINTR check
PATCH 1/1 linux-aio: Fix typo in read() EINTR check
Signed-off-by Stefan Hajnoczi <[email protected]>
--- linux-aio.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
linux-aio.c +1 -1
@@ -123,7 +123,7 @@ static void qemu_laio_completion_cb(void *opaque)do { ret =read (s->efd, &val,sizeof (val)); - }while (ret ==1 && errno ==EINTR ); + }while (ret ==-1 && errno ==EINTR );if (ret ==-1 && errno ==EAGAIN )break ;
Signature · 1 line
1.7.0
Kevin Wolf
AppliedAm 14.04.2010 13:13, schrieb Stefan Hajnoczi:
Quoted 2 lines
Signed-off-by Stefan Hajnoczi <[email protected]>---
Thanks, applied to the block branch.
Kevin