summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx12/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psx12/init.c')
-rw-r--r--testsuites/psxtests/psx12/init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/psxtests/psx12/init.c b/testsuites/psxtests/psx12/init.c
index fe83f470de..b1f32964a8 100644
--- a/testsuites/psxtests/psx12/init.c
+++ b/testsuites/psxtests/psx12/init.c
@@ -1,5 +1,5 @@
/*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -117,8 +117,8 @@ void *POSIX_Init(
schedparam.ss_initial_budget.tv_sec = 1;
schedparam.ss_initial_budget.tv_nsec = 0;
- schedparam.sched_priority = 200;
- schedparam.ss_low_priority = 100;
+ schedparam.sched_priority = sched_get_priority_max( SCHED_FIFO );
+ schedparam.ss_low_priority = sched_get_priority_max( SCHED_FIFO ) - 6;
status = pthread_attr_setschedparam( &attr, &schedparam );
assert( !status );