diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-08-15 18:59:00 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-08-15 18:59:00 +0000 |
commit | fdf6917aaa484a7c8c634c90e5e93ca77f535e76 (patch) | |
tree | ab1afe6e3a1f8aeaf30973c968672822b3a7c04f /c/src/tests/psxtests/psx01/init.c | |
parent | clock_gettime: changed assert condition to a standard error code (diff) | |
download | rtems-fdf6917aaa484a7c8c634c90e5e93ca77f535e76.tar.bz2 |
changed error for too many threads to EAGAIN
Diffstat (limited to '')
-rw-r--r-- | c/src/tests/psxtests/psx01/init.c | 4 |
1 files changed, 2 insertions, 2 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(); |