1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/net/spserver/files/patch-spthreadpool.cpp
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 );