mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-11 15:40:51 +00:00
Add debug info to sys_fs_lseek
This commit is contained in:
parent
85884d14cd
commit
c1607d14dc
@ -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)
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user