]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
refresh (create temporary patch)
authorSean Hefty <sean.hefty@intel.com>
Tue, 24 Apr 2012 18:25:01 +0000 (11:25 -0700)
committerSean Hefty <sean.hefty@intel.com>
Tue, 24 Apr 2012 18:25:01 +0000 (11:25 -0700)
meta
patches/refresh-temp [new file with mode: 0644]

diff --git a/meta b/meta
index 48f70d3d6e982b39fa976af922adad467766466d..b2bee4182dfa60be2bcb961f37f2edd3be0316b9 100644 (file)
--- a/meta
+++ b/meta
@@ -1,7 +1,8 @@
 Version: 1
-Previous: 4f0241b710a3a67338c0e670753f2acbd0207b42
-Head: e71a008fe1de887481348d026bb2970a469b24e8
+Previous: 2132f386fab7b13ff725e44b5d79617e7f37b913
+Head: af80bf54fa86e8515091c499ff11925fa2edf9d1
 Applied:
   snprintf: e71a008fe1de887481348d026bb2970a469b24e8
+  refresh-temp: af80bf54fa86e8515091c499ff11925fa2edf9d1
 Unapplied:
 Hidden:
diff --git a/patches/refresh-temp b/patches/refresh-temp
new file mode 100644 (file)
index 0000000..24a53dd
--- /dev/null
@@ -0,0 +1,22 @@
+Bottom: efccb146a38888a3e615a81017329971c08b8fc1
+Top:    de666c51520c9988ea3a07e332fa0402fdef6010
+Author: Sean Hefty <sean.hefty@intel.com>
+Date:   2012-04-24 11:25:01 -0700
+
+Refresh of snprintf
+
+---
+
+diff --git a/examples/rping.c b/examples/rping.c
+index ee292ec..785338e 100644
+--- a/examples/rping.c
++++ b/examples/rping.c
+@@ -909,7 +909,7 @@ static int rping_test_client(struct rping_cb *cb)
+               cb->state = RDMA_READ_ADV;
+               /* Put some ascii text in the buffer. */
+-              cc = sprintf(cb->start_buf, RPING_MSG_FMT, ping);
++              cc = snprintf(cb->start_buf, cb->size, RPING_MSG_FMT, ping);
+               for (i = cc, c = start; i < cb->size; i++) {
+                       cb->start_buf[i] = c;
+                       c++;