summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-08-15 18:59:34 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-08-15 18:59:34 +0000
commit851b18db1f71054dc108674063aca07089671de7 (patch)
treeacc597790dae0303c7c256c009e511251066ae9a /testsuites/psxtests
parentchanged error for too many threads to EAGAIN (diff)
downloadrtems-851b18db1f71054dc108674063aca07089671de7.tar.bz2
changed error code
Diffstat (limited to 'testsuites/psxtests')
-rw-r--r--testsuites/psxtests/psx07/init.c4
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)" );