修改errno,使其与relibc的保持一致 (#234)

修改errno,使其与relibc的保持一致
This commit is contained in:
houmkh
2023-04-11 17:05:33 +08:00
committed by GitHub
parent ac48398d3f
commit 79a452ce8f
20 changed files with 593 additions and 402 deletions

View File

@ -287,7 +287,7 @@ impl<T: Transport> NetDriver for VirtioInterface<T> {
if poll_res {
return Ok(());
}
return Err(SystemError::EAGAIN);
return Err(SystemError::EAGAIN_OR_EWOULDBLOCK);
}
#[inline(always)]