From 25b0e1cc0e881e00f1cccdd7e20c9b3b14b43b8e Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 23 May 2021 14:04:50 -0400 Subject: [PATCH] linux::io_uring: add error flag to errors Signed-off-by: Drew DeVault --- io_uring/uring.ha | 2 +- diff --git a/io_uring/uring.ha b/io_uring/uring.ha index 80c8a225078d05bd477de6b6d8c2b6c4ee1fc6ec..da2802cd0c14c7d5eb337b7538dd4c7e43068448 100644 --- a/io_uring/uring.ha +++ b/io_uring/uring.ha @@ -1,7 +1,7 @@ use errors; // All errors which may be returned by this module. -export type error = (errors::timeout | errors::cancelled | errors::opaque); +export type error = !(errors::timeout | errors::cancelled | errors::opaque); // Converts an [[error]] into a human-readable string. export fn strerror(err: error) const str = { -- 2.48.1