Fix GCC 0-length printf format string error
This commit is contained in:
parent
2fdc2c299f
commit
5aca555391
2 changed files with 295 additions and 295 deletions
File diff suppressed because it is too large
Load diff
|
@ -39,7 +39,7 @@ while (my $line = <CONFIG_FILE>) {
|
|||
$config_check .= "#if defined($name)\n";
|
||||
$config_check .= " if( strcmp( \"$name\", config ) == 0 )\n";
|
||||
$config_check .= " {\n";
|
||||
$config_check .= " mbedtls_printf( MACRO_EXPANSION_TO_STR( $name ) );\n";
|
||||
$config_check .= " mbedtls_printf( \"%s\", MACRO_EXPANSION_TO_STR( $name ) );\n";
|
||||
$config_check .= " return( 0 );\n";
|
||||
$config_check .= " }\n";
|
||||
$config_check .= "#endif /* $name */\n";
|
||||
|
|
Loading…
Reference in a new issue