[*] Fix bad formats
This commit is contained in:
parent
82c065ae0c
commit
6888aaaee7
@ -133,7 +133,7 @@ namespace Aurora::IO::FS
|
|||||||
|
|
||||||
if (!::ReadFile(fileHandle, &buffer[offset], blockSize, &read, NULL))
|
if (!::ReadFile(fileHandle, &buffer[offset], blockSize, &read, NULL))
|
||||||
{
|
{
|
||||||
LogWarn("ReadFile IO Error: 0x%x {}", GetLastError(), path);
|
LogWarn("ReadFile IO Error: 0x{:x} {}", GetLastError(), path);
|
||||||
SysPushErrorIO();
|
SysPushErrorIO();
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
@ -39,7 +39,7 @@ namespace Aurora::IO::FS
|
|||||||
|
|
||||||
if (SetFilePointerEx(handle_, distance, &pos, FILE_CURRENT) == INVALID_SET_FILE_POINTER)
|
if (SetFilePointerEx(handle_, distance, &pos, FILE_CURRENT) == INVALID_SET_FILE_POINTER)
|
||||||
{
|
{
|
||||||
LogWarn("SetFilePointerEx IO Error: 0x%x, {}", GetLastError(), path_);
|
LogWarn("SetFilePointerEx IO Error: 0x{:x}, {}", GetLastError(), path_);
|
||||||
SysPushErrorIO();
|
SysPushErrorIO();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -62,7 +62,7 @@ namespace Aurora::IO::FS
|
|||||||
|
|
||||||
if (SetFilePointerEx(handle_, distance, &pos, FILE_CURRENT) == INVALID_SET_FILE_POINTER)
|
if (SetFilePointerEx(handle_, distance, &pos, FILE_CURRENT) == INVALID_SET_FILE_POINTER)
|
||||||
{
|
{
|
||||||
LogWarn("SetFilePointerEx IO Error: 0x%x, {}", GetLastError(), path_);
|
LogWarn("SetFilePointerEx IO Error: 0x{:x}, {}", GetLastError(), path_);
|
||||||
SysPushErrorIO();
|
SysPushErrorIO();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user