[Ocfs2-commits] manish commits r1777 - trunk/cluster

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Fri Jan 14 23:51:06 CST 2005


Author: manish
Date: 2005-01-14 23:51:03 -0600 (Fri, 14 Jan 2005)
New Revision: 1777

Modified:
   trunk/cluster/tcp.c
Log:
Use %zu when printing a size_t


Modified: trunk/cluster/tcp.c
===================================================================
--- trunk/cluster/tcp.c	2005-01-15 05:50:37 UTC (rev 1776)
+++ trunk/cluster/tcp.c	2005-01-15 05:51:03 UTC (rev 1777)
@@ -874,7 +874,7 @@
 		caller_bytes += caller_iov[i].iov_len;
 
 	if (!net_handler_msg_len_ok(handler, caller_bytes)) {
-		netprintk("len for message type %u incorrect: %u, should be %u\n", 
+		netprintk("len for message type %u incorrect: %zu, should be %u\n", 
 		       msg_type, caller_bytes, handler->max_len);
 		ret = -EINVAL;
 		goto done;



More information about the Ocfs2-commits mailing list