Use rtabort
This commit is contained in:
parent
88c05edc9d
commit
d2ce150c8c
1 changed files with 1 additions and 2 deletions
|
|
@ -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!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue