UML - return a real error code
PATCH 9/10 UML - return a real error code
do_aio used to return -1 on error instead of errno.
Signed-off-by Jeff Dike <[email protected]>
arch/um/os-Linux/aio.c +1 -0
@@ -117,6 +117,7 @@ err =io_submit (ctx,1 , &iocbp);if (err >0 ) err =0 ; +else err = -errno; out:return err;
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel