summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Thread.cpp')
-rw-r--r--cpp/src/Ice/Thread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/Thread.cpp b/cpp/src/Ice/Thread.cpp
index dc10ed825e2..4186303e0ea 100644
--- a/cpp/src/Ice/Thread.cpp
+++ b/cpp/src/Ice/Thread.cpp
@@ -567,8 +567,8 @@ IceUtil::ThreadControl::join()
throw BadThreadControlException(__FILE__, __LINE__);
}
- void* ignore = 0;
- int rc = pthread_join(_thread, &ignore);
+ void* status = 0;
+ int rc = pthread_join(_thread, &status);
if(rc != 0)
{
throw ThreadSyscallException(__FILE__, __LINE__, rc);