summaryrefslogtreecommitdiffstats
path: root/c/src/tests/psxtests/psxhdrs/pthread22.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/tests/psxtests/psxhdrs/pthread22.c')
-rw-r--r--c/src/tests/psxtests/psxhdrs/pthread22.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/tests/psxtests/psxhdrs/pthread22.c b/c/src/tests/psxtests/psxhdrs/pthread22.c
index a49c4f3cac..e36936f9f9 100644
--- a/c/src/tests/psxtests/psxhdrs/pthread22.c
+++ b/c/src/tests/psxtests/psxhdrs/pthread22.c
@@ -24,7 +24,7 @@ void test( void )
pthread_t thread = 0;
int policy;
struct sched_param param;
- int status;
+ int result;
policy = SCHED_OTHER;
policy = SCHED_FIFO;
@@ -32,5 +32,5 @@ void test( void )
param.sched_priority = 0;
- status = pthread_setschedparam( thread, policy, &param );
+ result = pthread_setschedparam( thread, policy, &param );
}