Fix error type in ftruncate implementation

Co-Authored-By: christian@neon.tech <christian@neon.tech>
This commit is contained in:
Devin AI
2025-05-08 12:37:31 +00:00
parent dd39b88558
commit 810a25e58b

View File

@@ -210,6 +210,6 @@ impl Handle {
std::io::ErrorKind::Other,
"ftruncate operation not yet implemented for tokio-epoll-uring",
);
(file, Err(tokio_epoll_uring::Error::System(err)))
(file, Err(tokio_epoll_uring::Error::Op(err)))
}
}