diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-08-15 18:59:34 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-08-15 18:59:34 +0000 |
commit | 851b18db1f71054dc108674063aca07089671de7 (patch) | |
tree | acc597790dae0303c7c256c009e511251066ae9a | |
parent | changed error for too many threads to EAGAIN (diff) | |
download | rtems-851b18db1f71054dc108674063aca07089671de7.tar.bz2 |
changed error code
-rw-r--r-- | c/src/tests/psxtests/psx07/init.c | 4 | ||||
-rw-r--r-- | testsuites/psxtests/psx07/init.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/c/src/tests/psxtests/psx07/init.c b/c/src/tests/psxtests/psx07/init.c index 2d3859ad3c..9d11cd578a 100644 --- a/c/src/tests/psxtests/psx07/init.c +++ b/c/src/tests/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)" ); 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)" ); |