mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-29 16:13:27 +00:00
Rename systree
to aster-systree
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
f720c05706
commit
54bd64269b
@ -330,9 +330,9 @@ impl From<int_to_c_enum::TryFromIntError> for Error {
|
||||
}
|
||||
}
|
||||
|
||||
impl From<systree::Error> for Error {
|
||||
fn from(err: systree::Error) -> Self {
|
||||
use systree::Error::*;
|
||||
impl From<aster_systree::Error> for Error {
|
||||
fn from(err: aster_systree::Error) -> Self {
|
||||
use aster_systree::Error::*;
|
||||
match err {
|
||||
NodeNotFound(_) => Error::new(Errno::ENOENT),
|
||||
InvalidNodeOperation(_) => Error::new(Errno::EINVAL),
|
||||
|
Reference in New Issue
Block a user