[openib-general] [PATCH] rping.c: Compilation warning on 64 bit machines was fixed

Dotan Barak dotanb at dev.mellanox.co.il
Thu Oct 19 05:58:16 PDT 2006


Compilation warning on 64 bit machines was fixed.

Signed-off-by: Dotan Barak <dotanb at mellanox.co.il>
---

Index: last_stable/src/userspace/librdmacm/examples/rping.c
===================================================================
--- last_stable.orig/src/userspace/librdmacm/examples/rping.c	2006-07-02 18:09:41.000000000 +0300
+++ last_stable/src/userspace/librdmacm/examples/rping.c	2006-07-03 13:38:20.000000000 +0300
@@ -1025,7 +1025,7 @@ int main(int argc, char *argv[])
 			if ((cb->size < RPING_MIN_BUFSIZE) ||
 			    (cb->size > (RPING_BUFSIZE - 1))) {
 				fprintf(stderr, "Invalid size %d "
-				       "(valid range is %d to %d)\n",
+				       "(valid range is %Zd to %d)\n",
 				       cb->size, RPING_MIN_BUFSIZE, RPING_BUFSIZE);
 				ret = EINVAL;
 			} else






More information about the general mailing list