Whamcloud - gitweb
Branch b1_4
authorscjody <scjody>
Thu, 10 May 2007 16:21:22 +0000 (16:21 +0000)
committerscjody <scjody>
Thu, 10 May 2007 16:21:22 +0000 (16:21 +0000)
Fix compiler warning on Cray XT3.

Original patch by walter@clusterfs.com.

b=12360
i=adilger
i=scjody

lnet/klnds/ptllnd/ptllnd_rx_buf.c

index 364540b..e897086 100644 (file)
@@ -414,7 +414,7 @@ kptllnd_rx_buffer_callback (ptl_event_t *ev)
                  * odd-length message will misalign subsequent messages and
                  * force the fixup below...  */
                 if ((ev->mlength & 7) != 0)
                  * odd-length message will misalign subsequent messages and
                  * force the fixup below...  */
                 if ((ev->mlength & 7) != 0)
-                        CWARN("Message from %s has odd length %d: "
+                        CWARN("Message from %s has odd length %llu: "
                               "probable version incompatibility\n",
                               kptllnd_ptlid2str(ev->initiator),
                               ev->mlength);
                               "probable version incompatibility\n",
                               kptllnd_ptlid2str(ev->initiator),
                               ev->mlength);