Commit fda8ddad authored by claes's avatar claes

Inverse order of threads in proctable

parent a171d224
......@@ -4532,7 +4532,7 @@ static int gcg_sort_threadlist(
list_ptr = threadlist;
for ( j = 0; j < i; j++)
{
if ( list_ptr->prio > (list_ptr + 1)->prio)
if ( list_ptr->prio < (list_ptr + 1)->prio)
{
/* Change order */
memcpy( &dum, list_ptr + 1, sizeof( gcg_t_threadlist));
......
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