diff --git a/core/error.rs b/core/error.rs index 8469a17a2..646e85825 100644 --- a/core/error.rs +++ b/core/error.rs @@ -21,7 +21,7 @@ pub enum LimboError { IOError(#[from] std::io::Error), #[cfg(all(target_os = "linux", feature = "io_uring"))] #[error("I/O error: {0}")] - LinuxIOError(String), + UringIOError(String), #[error("Locking error: {0}")] LockingError(String), #[cfg(target_family = "unix")] diff --git a/core/io/io_uring.rs b/core/io/io_uring.rs index 8f3314eda..54a02ee61 100644 --- a/core/io/io_uring.rs +++ b/core/io/io_uring.rs @@ -165,7 +165,7 @@ impl IO for UringIO { while let Some(cqe) = ring.get_completion() { let result = cqe.result(); if result < 0 { - return Err(LimboError::LinuxIOError(format!( + return Err(LimboError::UringIOError(format!( "{} cqe: {:?}", UringIOError::IOUringCQError(result), cqe