Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/cpl/trousers/dist/src/tcsd cast to long the ...
details: https://anonhg.NetBSD.org/src/rev/6a137cd68743
branches: trunk
changeset: 773099:6a137cd68743
user: christos <christos%NetBSD.org@localhost>
date: Sat Jan 28 02:06:51 2012 +0000
description:
cast to long the thread id before printing
diffstat:
crypto/external/cpl/trousers/dist/src/tcsd/tcsd_threads.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 860f62df1b3d -r 6a137cd68743 crypto/external/cpl/trousers/dist/src/tcsd/tcsd_threads.c
--- a/crypto/external/cpl/trousers/dist/src/tcsd/tcsd_threads.c Sat Jan 28 02:05:55 2012 +0000
+++ b/crypto/external/cpl/trousers/dist/src/tcsd/tcsd_threads.c Sat Jan 28 02:06:51 2012 +0000
@@ -185,13 +185,13 @@
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);
}
}
Home |
Main Index |
Thread Index |
Old Index