* [PATCH 9/10] UML - return a real error code
@ 2005-09-14 21:56 Jeff Dike
0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2005-09-14 21:56 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel, user-mode-linux-devel
do_aio used to return -1 on error instead of errno.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Index: test/arch/um/os-Linux/aio.c
===================================================================
--- test.orig/arch/um/os-Linux/aio.c 2005-09-14 15:47:30.000000000 -0400
+++ test/arch/um/os-Linux/aio.c 2005-09-14 15:48:04.000000000 -0400
@@ -117,6 +117,7 @@
err = io_submit(ctx, 1, &iocbp);
if(err > 0)
err = 0;
+ else err = -errno;
out:
return err;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-09-14 22:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-14 21:56 [PATCH 9/10] UML - return a real error code Jeff Dike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®