mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00:00
fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1850 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
9d9de41c0a
commit
3a64c36c66
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ void Thread::WaitForDeath()
|
||||||
int ret = pthread_join(thread_id, &exit_status);
|
int ret = pthread_join(thread_id, &exit_status);
|
||||||
if (ret) fprintf(stderr, "error joining thread %lu: %s\n", thread_id, strerror(ret));
|
if (ret) fprintf(stderr, "error joining thread %lu: %s\n", thread_id, strerror(ret));
|
||||||
if (exit_status)
|
if (exit_status)
|
||||||
fprintf(stderr, "thread %d exited with status %lu\n", thread_id, *(int *)exit_status);
|
fprintf(stderr, "thread %lu exited with status %d\n", thread_id, *(int *)exit_status);
|
||||||
thread_id = 0;
|
thread_id = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue