git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1850 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
XTra.KrazzY 2009-01-11 13:25:05 +00:00
parent 9d9de41c0a
commit 3a64c36c66
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }
} }