From 851b18db1f71054dc108674063aca07089671de7 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 15 Aug 1996 18:59:34 +0000 Subject: changed error code --- testsuites/psxtests/psx07/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuites') 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)" ); -- cgit v1.2.3