From cdfa0e6306731cdd3e7cec1b4cfeedb0d1eb3d71 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 27 Oct 2009 08:15:55 +0000 Subject: [PATCH] Remove cast in call to fatal_posix_service_status_errno. --- testsuites/psxtests/psxmsgq02/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuites/psxtests/psxmsgq02/init.c b/testsuites/psxtests/psxmsgq02/init.c index af19320f17..5aa4bc88d1 100644 --- a/testsuites/psxtests/psxmsgq02/init.c +++ b/testsuites/psxtests/psxmsgq02/init.c @@ -50,7 +50,7 @@ void *POSIX_Init( attr.mq_msgsize = MSGSIZE; puts("Init: mq_open - Workspace not available - ENOMEM"); 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 ***" ); rtems_test_exit( 0 );