forked from Imagelibrary/rtems
Remove cast in call to fatal_posix_service_status_errno.
This commit is contained in:
@@ -50,7 +50,7 @@ void *POSIX_Init(
|
|||||||
attr.mq_msgsize = MSGSIZE;
|
attr.mq_msgsize = MSGSIZE;
|
||||||
puts("Init: mq_open - Workspace not available - ENOMEM");
|
puts("Init: mq_open - Workspace not available - ENOMEM");
|
||||||
mq = mq_open( Get_Longest_Name(), O_CREAT, 0x777, &attr );
|
mq = mq_open( Get_Longest_Name(), O_CREAT, 0x777, &attr );
|
||||||
fatal_posix_service_status_errno((int)mq, ENOMEM, "no workspace available");
|
fatal_posix_service_status_errno(mq, ENOMEM, "no workspace available");
|
||||||
|
|
||||||
puts( "*** END OF POSIX MESSAGE QUEUE 02 TEST ***" );
|
puts( "*** END OF POSIX MESSAGE QUEUE 02 TEST ***" );
|
||||||
rtems_test_exit( 0 );
|
rtems_test_exit( 0 );
|
||||||
|
|||||||
Reference in New Issue
Block a user