summaryrefslogtreecommitdiff
path: root/runtime/wtp.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2013-03-27 12:03:58 +0100
committerMichael Biebl <biebl@debian.org>2013-03-27 12:03:58 +0100
commitd7c2f609d30d5e4d2c69dd2dc7305bd8ec5736ec (patch)
treeab4cde54583b0e1eb92fdafe0eb7282b7923daa9 /runtime/wtp.c
parent86831d7a4f485e19befa8cc500d17766798ad07c (diff)
downloadrsyslog-d7c2f609d30d5e4d2c69dd2dc7305bd8ec5736ec.tar.gz
Imported Upstream version 7.3.9upstream/7.3.9
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 f8d3588..19151e7 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);