aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/processing
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2011-12-16 14:40:57 +0100
committerTobias Brunner <tobias@strongswan.org>2011-12-16 16:44:38 +0100
commitb24287c2693e681c33a6a3f11455cbf604f218b0 (patch)
tree45414ef3bf13f5a087500b13040654d5f82c71e2 /src/libstrongswan/processing
parentc27e54a71632280c5d3f06fd233ae37a1cc350da (diff)
downloadstrongswan-b24287c2693e681c33a6a3f11455cbf604f218b0.tar.bz2
strongswan-b24287c2693e681c33a6a3f11455cbf604f218b0.tar.xz
Log worker thread ID with two digits.
Diffstat (limited to 'src/libstrongswan/processing')
-rw-r--r--src/libstrongswan/processing/processor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstrongswan/processing/processor.c b/src/libstrongswan/processing/processor.c
index 18af2383a..222f1a535 100644
--- a/src/libstrongswan/processing/processor.c
+++ b/src/libstrongswan/processing/processor.c
@@ -102,7 +102,7 @@ static void restart(private_processor_t *this)
{
thread_t *thread;
- DBG2(DBG_JOB, "terminated worker thread, ID: %u", thread_current_id());
+ DBG2(DBG_JOB, "terminated worker thread %.2u", thread_current_id());
/* respawn thread if required */
this->mutex->lock(this->mutex);
@@ -152,7 +152,7 @@ static void process_jobs(private_processor_t *this)
/* worker threads are not cancellable by default */
thread_cancelability(FALSE);
- DBG2(DBG_JOB, "started worker thread, ID: %u", thread_current_id());
+ DBG2(DBG_JOB, "started worker thread %.2u", thread_current_id());
this->mutex->lock(this->mutex);
while (this->desired_threads >= this->total_threads)