drd/tests/local_static: Fix a typo
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14011 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/drd/tests/local_static.cpp b/drd/tests/local_static.cpp
index 7db5a26..86c0fc1 100644
--- a/drd/tests/local_static.cpp
+++ b/drd/tests/local_static.cpp
@@ -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;