Files
ports/net/spserver/files/patch-spthreadpool.cpp
T
Vanilla I. Shu 7da4bc2cb5 Upgrade to 0.8.
2007-08-24 07:53:47 +00:00

12 lines
481 B
C++

--- spserver/spthreadpool.cpp.orig Wed Aug 22 22:04:05 2007
+++ spserver/spthreadpool.cpp Thu Aug 23 07:33:50 2007
@@ -120,7 +120,7 @@
if( 0 == pthread_create( &( thread->mId ), &attr, wrapperFunc, thread ) ) {
mTotal++;
- syslog( LOG_NOTICE, "[tp@%s] create thread#%ld\n", mTag, thread->mId );
+ syslog( LOG_NOTICE, "[tp@%s] create thread#%ld\n", mTag, (long)thread->mId );
} else {
ret = -1;
syslog( LOG_WARNING, "[tp@%s] cannot create thread\n", mTag );