--- compat/Thread.c.str 2010-02-19 19:24:14.000000000 +0100 +++ compat/Thread.c 2010-02-19 19:24:27.000000000 +0100 @@ -381,7 +381,7 @@ Condition_Lock( thread_sNum_cond ); thread_sNum -= nonterminating_num; if ( thread_sNum > 1 && nonterminating_num > 0 && interrupt != 0 ) { - fprintf( stderr, wait_server_threads ); + fprintf( stderr, "%s", wait_server_threads ); } nonterminating_num = 0; Condition_Signal( &thread_sNum_cond ); --- src/ReportDefault.c.str 2010-02-19 19:24:50.000000000 +0100 +++ src/ReportDefault.c 2010-02-19 19:26:04.000000000 +0100 @@ -76,13 +76,13 @@ if ( stats->mUDP != (char)kMode_Server ) { // TCP Reporting - printf( report_bw_header); + printf( "%s", report_bw_header); printf( report_bw_format, stats->transferID, stats->startTime, stats->endTime, buffer, &buffer[sizeof(buffer)/2] ); } else { // UDP Reporting - printf( report_bw_jitter_loss_header); + printf( "%s", report_bw_jitter_loss_header); printf( report_bw_jitter_loss_format, stats->transferID, stats->startTime, stats->endTime, buffer, &buffer[sizeof(buffer)/2], @@ -152,7 +152,7 @@ (data->mThreadMode == kMode_Listener ? 0 : 1) ); win_requested = data->mTCPWin; - printf( seperator_line ); + printf( "%s", seperator_line ); if ( data->mThreadMode == kMode_Listener ) { printf( server_port, (isUDP( data ) ? "UDP" : "TCP"), @@ -191,7 +191,7 @@ printf( warn_window_requested, buffer ); } printf( "\n" ); - printf( seperator_line ); + printf( "%s", seperator_line ); } /* @@ -279,7 +279,7 @@ } else if ( checkMSS_MTU( inMSS, 576 ) ) { net = "minimum"; mtu = 576; - printf( warn_no_pathmtu ); + printf( "%s", warn_no_pathmtu ); } else { mtu = inMSS + 40; net = "unknown interface"; --- src/Reporter.c.str 2010-02-19 19:26:25.000000000 +0100 +++ src/Reporter.c 2010-02-19 19:26:39.000000000 +0100 @@ -915,7 +915,7 @@ } else if ( checkMSS_MTU( inMSS, 576 ) ) { net = "minimum"; mtu = 576; - printf( warn_no_pathmtu ); + printf( "%s", warn_no_pathmtu ); } else { mtu = inMSS + 40; net = "unknown interface"; --- src/Settings.cpp.str 2010-02-19 19:26:52.000000000 +0100 +++ src/Settings.cpp 2010-02-19 19:27:24.000000000 +0100 @@ -375,8 +375,8 @@ break; case 'h': // print help and exit - fprintf(stderr, usage_long1); - fprintf(stderr, usage_long2); + fprintf(stderr, "%s", usage_long1); + fprintf(stderr, "%s", usage_long2); exit(1); break; @@ -482,7 +482,7 @@ break; case 'v': // print version and exit - fprintf( stderr, version ); + fprintf( stderr, "%s", version ); exit(1); break;