[netperf-dev] netperf2 commit notice r307 - in trunk: . src

raj at netperf.org raj at netperf.org
Mon Jul 13 09:37:08 PDT 2009


Author: raj
Date: 2009-07-13 09:37:07 -0700 (Mon, 13 Jul 2009)
New Revision: 307

Modified:
   trunk/AUTHORS
   trunk/Release_Notes
   trunk/src/nettest_bsd.c
   trunk/src/nettest_unix.c
Log:
fixes from Bruno

Modified: trunk/AUTHORS
===================================================================
--- trunk/AUTHORS	2009-06-22 18:31:43 UTC (rev 306)
+++ trunk/AUTHORS	2009-07-13 16:37:07 UTC (rev 307)
@@ -232,3 +232,6 @@
 
 Marcel Shuldman
 Changes to make netperf more profiling friendly
+
+Bruno Cornec
+Fixes to supply some missing fprintf format statements.

Modified: trunk/Release_Notes
===================================================================
--- trunk/Release_Notes	2009-06-22 18:31:43 UTC (rev 306)
+++ trunk/Release_Notes	2009-07-13 16:37:07 UTC (rev 307)
@@ -1,5 +1,9 @@
-These are the Release Notes leading-up to Revision 2.4.5 of netperf:
+These are the Release Notes for post-revision 2.4.5 of netperf:
 
+*) Missing fprintf format statements provided by Bruno Cornec
+
+These are the Release Notes for Revision 2.4.5 of netperf:
+
 Things changed in this release:
 
 *) Fixes for Linux procstat-based CPU utilization on newer kernels

Modified: trunk/src/nettest_bsd.c
===================================================================
--- trunk/src/nettest_bsd.c	2009-06-22 18:31:43 UTC (rev 306)
+++ trunk/src/nettest_bsd.c	2009-07-13 16:37:07 UTC (rev 307)
@@ -1455,7 +1455,7 @@
   /* the headers. we know some of it here, but not all, so we will */
   /* only print the test title here and will print the results */
   /* titles after the test is finished */
-  fprintf(where,test_name);
+  fprintf(where,"%s",test_name);
   address_buf[0] = '\0';
   inet_ntop(source->ai_family,get_address_address(source),address_buf,sizeof(address_buf));
   fprintf(where,
@@ -3126,7 +3126,7 @@
     case 1:
     case 2:
       if (print_headers) {
-		fprintf(where,mss_title);
+		fprintf(where,"%s",mss_title);
       }
       fprintf(where,
 	      mss_fmt_0,		/* the format string */

Modified: trunk/src/nettest_unix.c
===================================================================
--- trunk/src/nettest_unix.c	2009-06-22 18:31:43 UTC (rev 306)
+++ trunk/src/nettest_unix.c	2009-07-13 16:37:07 UTC (rev 307)
@@ -1505,6 +1505,7 @@
     /* and all that sort of rot... */
     
     fprintf(where,
+    	    "%s",
 	    ksink_fmt);
   }
   /* The test is over. Kill the data socket */



More information about the netperf-dev mailing list