source: ProjectBuilder/projects/netperf/pbconf/2.4.5/netperf/pbpatch/00-netperf-2.4.5-gcc-fix.patch@ 826

Last change on this file since 826 was 826, checked in by Bruno Cornec, 15 years ago

r3249@localhost: bruno | 2009-07-12 14:57:42 +0200
Adapt netperf build files to 0.9.7.1

File size: 1.1 KB
  • netperf-2.4.5/src/nettest_bsd.c

    old new  
    14551455  /* the headers. we know some of it here, but not all, so we will */
    14561456  /* only print the test title here and will print the results */
    14571457  /* titles after the test is finished */
    1458   fprintf(where,test_name);
     1458  fprintf(where,"%s",test_name);
    14591459  address_buf[0] = '\0';
    14601460  inet_ntop(source->ai_family,get_address_address(source),address_buf,sizeof(address_buf));
    14611461  fprintf(where,
     
    31263126    case 1:
    31273127    case 2:
    31283128      if (print_headers) {
    3129         fprintf(where,mss_title);
     3129        fprintf(where,"%s",mss_title);
    31303130      }
    31313131      fprintf(where,
    31323132          mss_fmt_0,        /* the format string */
  • netperf-2.4.5/src/nettest_unix.c

    old new  
    15041504    /* STREAM statistics, the alignments of the sends and receives */
    15051505    /* and all that sort of rot... */
    15061506   
    1507     fprintf(where,
     1507    fprintf(where, "%s",
    15081508        ksink_fmt);
    15091509  }
    15101510  /* The test is over. Kill the data socket */
Note: See TracBrowser for help on using the repository browser.