summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/pthread29.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/pthread29.c')
-rw-r--r--testsuites/psxtests/psxhdrs/pthread29.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/pthread29.c b/testsuites/psxtests/psxhdrs/pthread29.c
index 3232407ee4..59b56c25fd 100644
--- a/testsuites/psxtests/psxhdrs/pthread29.c
+++ b/testsuites/psxtests/psxhdrs/pthread29.c
@@ -27,10 +27,10 @@ void test( void )
{
int state;
int oldstate;
- int status;
+ int result;
state = PTHREAD_CANCEL_ENABLE;
state = PTHREAD_CANCEL_DISABLE;
- status = pthread_setcancelstate( state, &oldstate );
+ result = pthread_setcancelstate( state, &oldstate );
}