diff options
Diffstat (limited to 'testsuites/psxtests/psxmsgq02/init.c')
-rw-r--r-- | testsuites/psxtests/psxmsgq02/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxmsgq02/init.c b/testsuites/psxtests/psxmsgq02/init.c index 32bb6bcc47..5c7b88b98f 100644 --- a/testsuites/psxtests/psxmsgq02/init.c +++ b/testsuites/psxtests/psxmsgq02/init.c @@ -54,8 +54,8 @@ void *POSIX_Init( attr.mq_maxmsg = MAXMSG; attr.mq_msgsize = MSGSIZE; - puts("Init: ENOMEM (Workspace not available)"); - mq = mq_open( Get_Longest_Name(), O_WRONLY, 0x777, &attr ); + puts("Init: mq_open - Workspace not available - ENOMEM"); + mq = mq_open( Get_Longest_Name(), O_CREAT, 0x777, &attr ); fatal_posix_service_status_errno( mq, ENOMEM, "no workspace available" ); puts( "*** END OF POSIX MESSAGE QUEUE 02 TEST ***" ); |