summaryrefslogtreecommitdiffstats
path: root/runtime/wtp.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-03-20 10:24:36 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2013-03-20 10:24:36 +0100
commit7784b65d8709fba647a7beeb934c18b7cb8cb6f1 (patch)
tree516e631d2de9c1f4c7d44c51f38c2901f94d62a3 /runtime/wtp.c
parentaef0be0c1799fbb20955fc1dc014cb9c9772af88 (diff)
downloadrsyslog-7784b65d8709fba647a7beeb934c18b7cb8cb6f1.tar.gz
rsyslog-7784b65d8709fba647a7beeb934c18b7cb8cb6f1.tar.bz2
rsyslog-7784b65d8709fba647a7beeb934c18b7cb8cb6f1.zip
bugfix: build on non-linux platforms failed
The previous fix for this was incomplete.
Diffstat (limited to 'runtime/wtp.c')
-rw-r--r--runtime/wtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/wtp.c b/runtime/wtp.c
index f8d3588b..19151e7c 100644
--- a/runtime/wtp.c
+++ b/runtime/wtp.c
@@ -381,9 +381,9 @@ wtpWorker(void *arg) /* the arg is actually a wti object, even though we are in
if(prctl(PR_SET_NAME, thrdName, 0, 0, 0) != 0) {
DBGPRINTF("prctl failed, not setting thread name for '%s'\n", wtpGetDbgHdr(pThis));
}
+ dbgOutputTID((char*)thrdName);
# endif
- dbgOutputTID((char*)thrdName);
pthread_cleanup_push(wtpWrkrExecCancelCleanup, pWti);
wtiWorker(pWti);
pthread_cleanup_pop(0);