summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-04-08 09:56:52 -0600
committerJens Axboe <axboe@kernel.dk>2020-04-08 09:56:52 -0600
commit3d70675e33ba476274b86c378e5cd2195a861879 (patch)
treeaca040c6ec56dcaea97c9940a7011266f1757b07 /test
parent8040ba7d9e0d0d7fba7aa557fd59aa1610fe835c (diff)
downloadliburing-3d70675e33ba476274b86c378e5cd2195a861879.tar.gz
liburing-3d70675e33ba476274b86c378e5cd2195a861879.tar.bz2
test/lfs-openat-write: return the correct error
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'test')
-rw-r--r--test/lfs-openat-write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lfs-openat-write.c b/test/lfs-openat-write.c
index 8c46032..951ae7e 100644
--- a/test/lfs-openat-write.c
+++ b/test/lfs-openat-write.c
@@ -107,5 +107,5 @@ int main(int argc, char *argv[])
io_uring_queue_exit(&ring);
close(dfd);
unlink("/tmp/io_uring_openat_write_test1");
- return 0;
+ return ret;
}