From d32daa6a8a6997cf385dbd35e75df5338e06c5e9 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 14 Dec 2008 23:56:21 +0000 Subject: 2008-12-14 Joel Sherrill * psx05/init.c: Add parameter to call to sched_get_priority_max(). --- testsuites/psxtests/ChangeLog | 4 ++++ testsuites/psxtests/psx05/init.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'testsuites') diff --git a/testsuites/psxtests/ChangeLog b/testsuites/psxtests/ChangeLog index 5756e3eaae..c6f92a0ad9 100644 --- a/testsuites/psxtests/ChangeLog +++ b/testsuites/psxtests/ChangeLog @@ -1,3 +1,7 @@ +2008-12-14 Joel Sherrill + + * psx05/init.c: Add parameter to call to sched_get_priority_max(). + 2008-12-14 Joel Sherrill * psx05/init.c, psx07/init.c, psx09/init.c, psx11/init.c, psx12/init.c: diff --git a/testsuites/psxtests/psx05/init.c b/testsuites/psxtests/psx05/init.c index 5923abe5f2..7bc472b2ee 100644 --- a/testsuites/psxtests/psx05/init.c +++ b/testsuites/psxtests/psx05/init.c @@ -468,7 +468,7 @@ void *POSIX_Init( /* set priority of Task2 to highest priority */ - param.sched_priority = sched_get_priority_max(); + param.sched_priority = sched_get_priority_max( SCHED_FIFO ); puts( "Init: pthread_setschedparam - Setting Task2 priority to highest" ); status = pthread_setschedparam( Task2_id, SCHED_FIFO, ¶m ); -- cgit v1.2.3