summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/tests/psxtests/psx01/init.c4
-rw-r--r--testsuites/psxtests/psx01/init.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/c/src/tests/psxtests/psx01/init.c b/c/src/tests/psxtests/psx01/init.c
index 631634b443..632ec15274 100644
--- a/c/src/tests/psxtests/psx01/init.c
+++ b/c/src/tests/psxtests/psx01/init.c
@@ -201,9 +201,9 @@ void *POSIX_Init(
/* too may threads error */
- puts( "Init: pthread_create - EINVAL (too many threads)" );
+ puts( "Init: pthread_create - EAGAIN (too many threads)" );
status = pthread_create( &thread_id, NULL, Task_1_through_3, NULL );
- assert( status == EINVAL );
+ assert( status == EAGAIN );
puts( "Init: sched_yield to Task_1" );
status = sched_yield();
diff --git a/testsuites/psxtests/psx01/init.c b/testsuites/psxtests/psx01/init.c
index 631634b443..632ec15274 100644
--- a/testsuites/psxtests/psx01/init.c
+++ b/testsuites/psxtests/psx01/init.c
@@ -201,9 +201,9 @@ void *POSIX_Init(
/* too may threads error */
- puts( "Init: pthread_create - EINVAL (too many threads)" );
+ puts( "Init: pthread_create - EAGAIN (too many threads)" );
status = pthread_create( &thread_id, NULL, Task_1_through_3, NULL );
- assert( status == EINVAL );
+ assert( status == EAGAIN );
puts( "Init: sched_yield to Task_1" );
status = sched_yield();