mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 11:48:36 +12:00
Implement fs::error::notempty
This commit is contained in:
parent
22d8b57027
commit
669d953529
3 changed files with 5 additions and 0 deletions
|
@ -622,6 +622,7 @@ error_code sys_fs_rmdir(vm::cptr<char> path)
|
|||
switch (auto error = fs::g_tls_error)
|
||||
{
|
||||
case fs::error::noent: return {CELL_ENOENT, path};
|
||||
case fs::error::notempty: return {CELL_ENOTEMPTY, path};
|
||||
default: sys_fs.error("sys_fs_rmdir(): unknown error %s", error);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue