Commit daf80458 authored by smorlat's avatar smorlat
Browse files

fix warning error.

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@806 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent 05eff701
...@@ -296,7 +296,7 @@ static int set_high_prio(void){ ...@@ -296,7 +296,7 @@ static int set_high_prio(void){
int policy=SCHED_OTHER; int policy=SCHED_OTHER;
#endif #endif
param.sched_priority=sched_get_priority_max(policy); param.sched_priority=sched_get_priority_max(policy);
if(result=pthread_setschedparam(pthread_self(),policy, &param)) { if((result=pthread_setschedparam(pthread_self(),policy, &param))) {
ms_warning("Set sched param failed with error code(%i)\n",result); ms_warning("Set sched param failed with error code(%i)\n",result);
} else { } else {
ms_message("MS ticker priority set to max"); ms_message("MS ticker priority set to max");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment