Use rtabort

This commit is contained in:
Chris Denton 2022-04-04 06:08:41 +01:00
parent 88c05edc9d
commit d2ce150c8c
No known key found for this signature in database
GPG key ID: 713472F2F45627DE

View file

@ -299,8 +299,7 @@ impl Handle {
// Doing otherwise means that the buffer may be read and the stack
// written to after this function returns.
c::STATUS_PENDING => {
eprintln!("I/O error: operation failed to complete synchronously");
crate::process::abort();
rtabort!("I/O error: operation failed to complete synchronously");
}
// Success!