mirror of
https://github.com/hexagonal-sun/moss-kernel.git
synced 2026-05-24 08:55:20 -04:00
post-rebase fix
This commit is contained in:
@@ -67,7 +67,6 @@ pub fn kern_err_to_syscall(err: KernelError) -> isize {
|
||||
KernelError::Fs(FsError::DirectoryNotEmpty) => ENOTEMPTY,
|
||||
KernelError::Fs(FsError::Busy) => EBUSY,
|
||||
KernelError::Fs(FsError::InvalidInput) => EINVAL, // TODO: Is this right?
|
||||
KernelError::InUse => EBUSY,
|
||||
KernelError::Fs(FsError::PermissionDenied) => EACCES,
|
||||
KernelError::Fs(FsError::TooManyFiles) => EMFILE,
|
||||
KernelError::Fs(FsError::NoDevice) => ENODEV,
|
||||
|
||||
Reference in New Issue
Block a user