mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 21:41:26 +12:00
Add debug info to sys_fs_lseek
This commit is contained in:
parent
85884d14cd
commit
c1607d14dc
1 changed files with 1 additions and 1 deletions
|
@ -2622,7 +2622,7 @@ error_code sys_fs_lseek(ppu_thread& ppu, u32 fd, s64 offset, s32 whence, vm::ptr
|
||||||
{
|
{
|
||||||
switch (auto error = fs::g_tls_error)
|
switch (auto error = fs::g_tls_error)
|
||||||
{
|
{
|
||||||
case fs::error::inval: return CELL_EINVAL;
|
case fs::error::inval: return {CELL_EINVAL, "fd=%u, offset=0x%x, whence=%d", fd, offset, whence};
|
||||||
default: sys_fs.error("sys_fs_lseek(): unknown error %s", error);
|
default: sys_fs.error("sys_fs_lseek(): unknown error %s", error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue