Call __pthread_getschedparam_internal instead of __pthread_getschedparam
authorDavid Bartley <dtbartle@maltodextrin.csclub.uwaterloo.ca>
Fri, 22 Aug 2008 09:05:13 +0000 (09:05 +0000)
committerDavid Bartley <dtbartle@maltodextrin.csclub.uwaterloo.ca>
Fri, 22 Aug 2008 09:05:13 +0000 (09:05 +0000)
nptl/pthread_getschedparam.c

index a39b1e5..9534006 100644 (file)
@@ -69,7 +69,7 @@ __pthread_getschedparam (threadid, policy, param)
 #else
   if ((pd->flags & (ATTR_FLAG_SCHED_SET | ATTR_FLAG_POLICY_SET)) == 0)
     {
-      if (__pthread_getschedparam (pd->tid, &pd->schedpolicy, &pd->schedparam)
+      if (__pthread_getschedparam_internal (pd->tid, &pd->schedpolicy, &pd->schedparam)
             != 0)
        result = 1;
       else