Update pageserver/src/virtual_file.rs

Co-authored-by: Joonas Koivunen <joonas@neon.tech>
This commit is contained in:
John Spray
2023-10-05 09:47:58 +01:00
committed by GitHub
parent 682f1df2ee
commit 2e19940674

View File

@@ -180,7 +180,7 @@ const EBADF: i32 = 9;
/// cause: this includes EIO, EROFS, and EACCESS: all these indicate either
/// bad storage or bad configuration, and we can't fix that from inside
/// a running process.
pub(crate) fn on_fatal_io_error(e: &std::io::Error) {
pub(crate) fn on_fatal_io_error(e: &std::io::Error) -> ! {
tracing::error!("Fatal I/O error: {}", &e);
std::process::abort();
}