mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
committed by
Christian Helmuth
parent
1d92631ef0
commit
44cfc414ee
@@ -80,8 +80,9 @@ namespace File_system {
|
||||
{
|
||||
typedef Directory_service::Unlink_result Result;
|
||||
switch (r) {
|
||||
case Result::UNLINK_ERR_NO_ENTRY: throw Lookup_failed();
|
||||
case Result::UNLINK_ERR_NO_PERM: throw Permission_denied();
|
||||
case Result::UNLINK_ERR_NO_ENTRY: throw Lookup_failed();
|
||||
case Result::UNLINK_ERR_NO_PERM: throw Permission_denied();
|
||||
case Result::UNLINK_ERR_NOT_EMPTY: throw Not_empty();
|
||||
case Result::UNLINK_OK: break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user