WaE: format not a string literal and no format arguments

This commit is contained in:
Thomas Arnhold
2011-02-07 17:31:00 +01:00
parent ba11d549dc
commit b4286deec9
2 changed files with 3 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ void debug_printf( const char *chars )
static BOOL bPrint = (getenv("DEBUG") != NULL);
if ( bPrint )
{
printf( chars );
printf( "%c\n", chars );
fflush( stdout );
}
}

View File

@@ -250,9 +250,9 @@ namespace logging
return sal_False;
if ( _rRecord.Level >= m_nThreshold )
fprintf( stderr, sEntry.getStr() );
fprintf( stderr, "%s\n", sEntry.getStr() );
else
fprintf( stdout, sEntry.getStr() );
fprintf( stdout, "%s\n", sEntry.getStr() );
return sal_True;
}