From fb7d080c981e42bc217ba725a6b89c432566bb28 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 14 Aug 1996 20:25:57 +0000 Subject: pthread_mutex_init returns EAGAIN not ENOMEM when there are too many mutexes. --- c/src/tests/psxtests/psx05/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'c/src/tests/psxtests/psx05/init.c') diff --git a/c/src/tests/psxtests/psx05/init.c b/c/src/tests/psxtests/psx05/init.c index d8e7547c63..216451948c 100644 --- a/c/src/tests/psxtests/psx05/init.c +++ b/c/src/tests/psxtests/psx05/init.c @@ -341,9 +341,9 @@ void *POSIX_Init( printf( "status = %d\n", status ); assert( !status ); - puts( "Init: pthread_mutex_init - ENOMEM (too many)" ); + puts( "Init: pthread_mutex_init - EAGAIN (too many)" ); status = pthread_mutex_init( &Mutex3_id, &attr ); - assert( status == ENOMEM ); + assert( status == EAGAIN ); puts( "Init: pthread_mutexattr_destroy - SUCCESSFUL" ); status = pthread_mutexattr_destroy( &attr ); -- cgit v1.2.3