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
|
@ -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…
Reference in New Issue