From ec8290acdaea21b16d98f1ef5d4ae8a28ab2109a Mon Sep 17 00:00:00 2001 From: rpj Date: Wed, 3 Nov 2004 01:08:41 +0000 Subject: Mutex, semaphore, thread ID, test suite changes - see ChangeLogs --- pthread_getschedparam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pthread_getschedparam.c') diff --git a/pthread_getschedparam.c b/pthread_getschedparam.c index d968aa5..edeb5b4 100644 --- a/pthread_getschedparam.c +++ b/pthread_getschedparam.c @@ -69,7 +69,7 @@ pthread_getschedparam (pthread_t thread, int *policy, * for the target thread. It must not return the actual thread * priority as altered by any system priority adjustments etc. */ - param->sched_priority = thread->sched_priority; + param->sched_priority = ((ptw32_thread_t *)thread.p)->sched_priority; return 0; } -- cgit v1.2.3