summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxmsgq02/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxmsgq02/init.c')
-rw-r--r--testsuites/psxtests/psxmsgq02/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxmsgq02/init.c b/testsuites/psxtests/psxmsgq02/init.c
index 5c7b88b98f..e359557e9b 100644
--- a/testsuites/psxtests/psxmsgq02/init.c
+++ b/testsuites/psxtests/psxmsgq02/init.c
@@ -1,5 +1,5 @@
/*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -56,7 +56,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( mq, ENOMEM, "no workspace available" );
+ fatal_posix_service_status_errno((int)mq, ENOMEM, "no workspace available");
puts( "*** END OF POSIX MESSAGE QUEUE 02 TEST ***" );
rtems_test_exit( 0 );