summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx06/task.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psx06/task.c')
-rw-r--r--testsuites/psxtests/psx06/task.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/psxtests/psx06/task.c b/testsuites/psxtests/psx06/task.c
index 0fab530f5b..8284ed6119 100644
--- a/testsuites/psxtests/psx06/task.c
+++ b/testsuites/psxtests/psx06/task.c
@@ -26,14 +26,14 @@ void *Task_1(
)
{
int status;
- uint32_t *key_data;
+ uint32_t *key_data;
printf( "Task_1: Setting the key to %d\n", 1 );
status = pthread_setspecific( Key_id, &Data_array[ 1 ] );
if ( status )
printf( "status = %d\n", status );
assert( !status );
-
+
key_data = pthread_getspecific( Key_id );
printf( "Task_1: Got the key value of %ld\n",
(unsigned long) ((uint32_t *)key_data - Data_array) );