diff --git a/src/common/Thread.cpp b/src/common/Thread.cpp index 3dfcad36..2873b55b 100644 --- a/src/common/Thread.cpp +++ b/src/common/Thread.cpp @@ -119,7 +119,7 @@ bool Thread::runAsThread(void* obj, void *(*startRoutine)(void *), thread_t* thr #if defined(_WIN32) HANDLE hnd = ::CreateThread(NULL, 0, reinterpret_cast((void*)startRoutine), thread, CREATE_SUSPENDED, NULL); if (hnd == NULL) { - LogError(LOG_NET, "Error returned from CreateThread, err: %lu", ::GetLastError()); + LogError(LOG_HOST, "Error returned from CreateThread, err: %lu", ::GetLastError()); return false; } @@ -127,7 +127,7 @@ bool Thread::runAsThread(void* obj, void *(*startRoutine)(void *), thread_t* thr ::ResumeThread(hnd); #else if (::pthread_create(&thread->thread, NULL, startRoutine, thread) != 0) { - LogError(LOG_NET, "Error returned from pthread_create, err: %d", errno); + LogError(LOG_HOST, "Error returned from pthread_create, err: %d", errno); return false; } #endif // defined(_WIN32) diff --git a/src/common/Thread.h b/src/common/Thread.h index e101f445..66a0c81e 100644 --- a/src/common/Thread.h +++ b/src/common/Thread.h @@ -12,7 +12,7 @@ * @defgroup threading Threading * @brief Defines and implements threading routines. * @ingroup common - + * * @file Thread.h * @ingroup threading * @file Thread.cpp