Fix left out printf's

parent 860b5164
......@@ -87,7 +87,7 @@ int main( int argc, char *argv[] )
ret = 0;
cleanup:
printf( "\n" );
polarssl_printf( "\n" );
fclose( f );
entropy_free( &entropy );
......
......@@ -1512,7 +1512,7 @@ reset:
#if !defined(_WIN32)
if( received_sigterm )
{
printf( " interrupted by SIGTERM\n" );
polarssl_printf( " interrupted by SIGTERM\n" );
ret = 0;
goto exit;
}
......@@ -1787,7 +1787,6 @@ data_exchange:
}
buf[written] = '\0';
printf( " %d bytes written in %d fragments\n\n%s\n", written, frags, (char *) buf );
polarssl_printf( " %d bytes written in %d fragments\n\n%s\n", written, frags, (char *) buf );
ret = 0;
......@@ -1825,7 +1824,7 @@ exit:
}
#endif
printf( " . Cleaning up..." );
polarssl_printf( " . Cleaning up..." );
fflush( stdout );
if( client_fd != -1 )
......@@ -1866,7 +1865,7 @@ exit:
memory_buffer_alloc_free();
#endif
printf( " done.\n" );
polarssl_printf( " done.\n" );
#if defined(_WIN32)
polarssl_printf( " + Press Enter to exit this program.\n" );
......
......@@ -94,7 +94,7 @@ while (my $line = <GREP>)
my $found_hl = grep $_ eq $module_name, @high_level_modules;
if (!$found_ll && !$found_hl)
{
printf("Error: Do not know how to handle: $module_name\n");
polarssl_printf("Error: Do not know how to handle: $module_name\n");
exit 1;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment