This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix posix mqueue multi-line string literal warning


Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/compat/posix/current/ChangeLog,v
retrieving revision 1.32
diff -u -5 -p -r1.32 ChangeLog
--- ChangeLog	13 Jan 2003 05:49:42 -0000	1.32
+++ ChangeLog	18 Jan 2003 04:09:17 -0000
@@ -1,5 +1,9 @@
+2003-01-18  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* src/mqueue.cxx: Fix multi-line string literal warning.
+
 2003-01-13  Jonathan Larmour  <jifl@eCosCentric.com>
 
 	* doc/posix.sgml: Document them.
 
 	* src/mqueue.cxx (mq_timedreceive): Make fully compliant by dealing
Index: src/mqueue.cxx
===================================================================
RCS file: /cvs/ecos/ecos/packages/compat/posix/current/src/mqueue.cxx,v
retrieving revision 1.6
diff -u -5 -p -r1.6 mqueue.cxx
--- src/mqueue.cxx	13 Jan 2003 05:49:44 -0000	1.6
+++ src/mqueue.cxx	18 Jan 2003 04:09:17 -0000
@@ -680,12 +680,12 @@ mq_receive( mqd_t mqdes, char *msg_ptr, 
 externC int
 mq_timedsend( mqd_t mqdes, const char *msg_ptr, size_t msg_len,
               unsigned int msg_prio, const struct timespec *abs_timeout)
 {
     CYG_REPORT_FUNCTYPE( "returning %d" );
-    CYG_REPORT_FUNCARG6( "mqdes=%08x, msg_ptr=%08x, msg_len=%u, msg_prio=%u,
-	                      abs_timeout = %lu, %ld",
+    CYG_REPORT_FUNCARG6( "mqdes=%08x, msg_ptr=%08x, msg_len=%u, msg_prio=%u, "
+                         "abs_timeout = %lu, %ld",
                          mqdes, msg_ptr, msg_len, msg_prio, 
                          abs_timeout->tv_sec, abs_timeout->tv_nsec);
     CYG_CHECK_DATA_PTRC( msg_ptr );
     
     struct mquser *user = (struct mquser *)mqdes;
@@ -767,12 +767,12 @@ mq_timedsend( mqd_t mqdes, const char *m
 externC ssize_t
 mq_timedreceive( mqd_t mqdes, char *msg_ptr, size_t msg_len,
             unsigned int *msg_prio, const struct timespec *abs_timeout)
 {
     CYG_REPORT_FUNCTYPE( "returning %ld" );
-    CYG_REPORT_FUNCARG6( "mqdes=%08x, msg_ptr=%08x, msg_len=%u, msg_prio=%08x,
-	                      abs_timeout = %lu, %ld",
+    CYG_REPORT_FUNCARG6( "mqdes=%08x, msg_ptr=%08x, msg_len=%u, msg_prio=%08x, "
+	                 "abs_timeout = %lu, %ld",
                          mqdes, msg_ptr, msg_len, msg_prio,
                          abs_timeout->tv_sec, abs_timeout->tv_nsec );
     CYG_CHECK_DATA_PTRC( msg_ptr );
     CYG_CHECK_DATA_PTRC( msg_ptr+msg_len-1 );
     if ( NULL != msg_prio )


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]