summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/pthread22.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2010-04-03 06:07:24 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2010-04-03 06:07:24 +0000
commit66c9ad8692d26e3a44ee958ed1731472b52a8432 (patch)
treec9226fdc5a5658ef7a57e1c4cd18e55025cc0c9c /testsuites/psxtests/psxhdrs/pthread22.c
parent2010-04-03 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-66c9ad8692d26e3a44ee958ed1731472b52a8432.tar.bz2
Reflect POSIX changes to sched_param.
Diffstat (limited to 'testsuites/psxtests/psxhdrs/pthread22.c')
-rw-r--r--testsuites/psxtests/psxhdrs/pthread22.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/testsuites/psxtests/psxhdrs/pthread22.c b/testsuites/psxtests/psxhdrs/pthread22.c
index 74bf2252d1..ba15472256 100644
--- a/testsuites/psxtests/psxhdrs/pthread22.c
+++ b/testsuites/psxtests/psxhdrs/pthread22.c
@@ -40,11 +40,11 @@ void test( void )
param.sched_priority = 0;
#ifdef _POSIX_SPORADIC_SERVER
- param.ss_low_priority = 0;
- param.ss_replenish_period.tv_sec = 0;
- param.ss_replenish_period.tv_nsec = 0;
- param.ss_initial_budget.tv_sec = 0;
- param.ss_initial_budget.tv_nsec = 0;
+ param.sched_ss_low_priority = 0;
+ param.sched_ss_repl_period.tv_sec = 0;
+ param.sched_ss_repl_period.tv_nsec = 0;
+ param.sched_ss_init_budget.tv_sec = 0;
+ param.sched_ss_init_budget.tv_nsec = 0;
#endif
result = pthread_setschedparam( thread, policy, &param );