Fixed minor bug when compiling in debug mode.

git-svn-id: http://yate.null.ro/svn/yate/trunk@407 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2005-06-17 17:15:58 +00:00
parent bdc749b158
commit 88287791d7
1 changed files with 3 additions and 1 deletions

View File

@ -22,6 +22,8 @@
#include "yateclass.h"
#include <string.h>
#ifdef _WINDOWS
#include <process.h>
typedef unsigned long HTHREAD;
@ -114,7 +116,7 @@ ThreadPrivate* ThreadPrivate::create(Thread* t,const char* name,Thread::Priority
if (!err)
err = ::pthread_attr_setschedparam(&attr,&param);
if (err) {
DDebug("Could not set thread scheduling parameters: %s (%d)",
DDebug(DebugWarn,"Could not set thread scheduling parameters: %s (%d)",
strerror(err),err);
}
}