|
From: <sv...@va...> - 2014-06-09 07:39:07
|
Author: bart
Date: Mon Jun 9 07:38:32 2014
New Revision: 14011
Log:
drd/tests/local_static: Fix a typo
Modified:
trunk/drd/tests/local_static.cpp
Modified: trunk/drd/tests/local_static.cpp
==============================================================================
--- trunk/drd/tests/local_static.cpp (original)
+++ trunk/drd/tests/local_static.cpp Mon Jun 9 07:38:32 2014
@@ -34,7 +34,7 @@
for (std::vector<pthread_t>::iterator p = thread.begin(); p != thread.end();
p++) {
- if (pthread_create(&*p, 0, thread_func, 0) == 0) {
+ if (pthread_create(&*p, 0, thread_func, 0) != 0) {
fprintf(stderr, "Creation of thread %ld failed\n",
&*p - &*thread.begin());
return 1;
|