mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 12:32:43 +00:00
#2314 fix
This commit is contained in:
parent
213527ca71
commit
b7a7a5c582
@ -154,12 +154,12 @@ namespace fmt
|
|||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
if (DWORD error = GetLastError())
|
if (DWORD error = GetLastError())
|
||||||
{
|
{
|
||||||
fmt::append(out, " (e%#x)", error);
|
fmt::append(out, " (e=%#x)", error);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
if (int error = errno)
|
if (int error = errno)
|
||||||
{
|
{
|
||||||
fmt::append(out, " (e%d)", error);
|
fmt::append(out, " (e=%d)", error);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1937,7 +1937,7 @@ void thread_ctrl::start(const std::shared_ptr<thread_ctrl>& ctrl, task_stack tas
|
|||||||
verify("thread_ctrl::start" HERE), thread != 0;
|
verify("thread_ctrl::start" HERE), thread != 0;
|
||||||
#else
|
#else
|
||||||
pthread_t thread;
|
pthread_t thread;
|
||||||
verify("thread_ctrl::start" HERE), pthread_create(&thread, nullptr, entry, ctrl.get());
|
verify("thread_ctrl::start" HERE), pthread_create(&thread, nullptr, entry, ctrl.get()) == 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// TODO: this is unsafe and must be duplicated in thread_ctrl::initialize
|
// TODO: this is unsafe and must be duplicated in thread_ctrl::initialize
|
||||||
|
Loading…
x
Reference in New Issue
Block a user