mirror of
https://github.com/neondatabase/neon.git
synced 2026-10-13 23:32:57 +00:00
Fix error type in ftruncate implementation
Co-Authored-By: christian@neon.tech <christian@neon.tech>
This commit is contained in:
co-authored by
christian@neon.tech
parent
dd39b88558
commit
810a25e58b
@@ -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)))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user