diff options
Diffstat (limited to 'testsuites/psxtests/psx07/init.c')
-rw-r--r-- | testsuites/psxtests/psx07/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/psxtests/psx07/init.c b/testsuites/psxtests/psx07/init.c index 2d3859ad3c..9d11cd578a 100644 --- a/testsuites/psxtests/psx07/init.c +++ b/testsuites/psxtests/psx07/init.c @@ -99,9 +99,9 @@ void *POSIX_Init( /* must go around pthread_attr_setstacksize to set a bad stack size */ attr.stacksize = 0; - puts( "Init: pthread_create - EINVAL (stacksize too small)" ); + puts( "Init: pthread_create - EAGAIN (stacksize too small)" ); status = pthread_create( &Task_id, &attr, Task_1, NULL ); - assert( status == EINVAL ); + assert( status == EAGAIN ); attr.stacksize = BSP_Configuration.work_space_size; puts( "Init: pthread_create - EINVAL (stacksize too large)" ); |