Module Name:src
Committed By: christos
Date: Sat Jan 28 02:06:51 UTC 2012
Modified Files:
src/crypto/external/cpl/trousers/dist/src/tcsd: tcsd_threads.c
Log Message:
cast to long the thread id before printing
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/crypto/external/cpl/trousers/dist/src/tcsd/tcsd_threads.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/crypto/external/cpl/trousers/dist/src/tcsd/tcsd_threads.c
diff -u src/crypto/external/cpl/trousers/dist/src/tcsd/tcsd_threads.c:1.1.1.1 src/crypto/external/cpl/trousers/dist/src/tcsd/tcsd_threads.c:1.2
--- src/crypto/external/cpl/trousers/dist/src/tcsd/tcsd_threads.c:1.1.1.1 Fri Jan 27 20:35:37 2012
+++ src/crypto/external/cpl/trousers/dist/src/tcsd/tcsd_threads.c Fri Jan 27 21:06:51 2012
@@ -185,13 +185,13 @@ thread_signal_init()
if ((rc = sigfillset(thread_sigmask))) {
LogError(sigfillset failed: error=%d: %s, rc, strerror(rc));
- LogError(worker thread %ld is exiting prematurely, THREAD_ID);
+ LogError(worker thread %ld is exiting prematurely, (long)THREAD_ID);
THREAD_EXIT(NULL);
}
if ((rc = THREAD_SET_SIGNAL_MASK(SIG_BLOCK, thread_sigmask, NULL))) {
LogError(Setting thread sigmask failed: error=%d: %s, rc, strerror(rc));
- LogError(worker thread %ld is exiting prematurely, THREAD_ID);
+ LogError(worker thread %ld is exiting prematurely, (long)THREAD_ID);
THREAD_EXIT(NULL);
}
}