summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx05/init.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-12-14 23:56:21 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-12-14 23:56:21 +0000
commitd32daa6a8a6997cf385dbd35e75df5338e06c5e9 (patch)
tree4c55c873481a86122de367db1f86fabb700dc485 /testsuites/psxtests/psx05/init.c
parent2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-d32daa6a8a6997cf385dbd35e75df5338e06c5e9.tar.bz2
2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* psx05/init.c: Add parameter to call to sched_get_priority_max().
Diffstat (limited to 'testsuites/psxtests/psx05/init.c')
-rw-r--r--testsuites/psxtests/psx05/init.c2
1 files changed, 1 insertions, 1 deletions
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, &param );