commit d4b4db5ecf192a14671af0f903768912ce617596 parent 9d5eb1834205e9884817aa9a2042ead1b9be9eb2 Author: Michael Savage <mikejsavage@gmail.com> Date: Mon Apr 17 23:46:39 +0300 More format fixes Diffstat:
launcher/main.cc | | | 2 | +- |
main.cc | | | 2 | +- |
diff --git a/launcher/main.cc b/launcher/main.cc @@ -361,7 +361,7 @@ static WORK_QUEUE_CALLBACK( download_file ) { recursive_mkdir( NULL, local_path.c_str() ); FILE * f = fopen( local_path.c_str(), "wb" ); if( f == NULL ) { - FATAL( "couldn't open %s for writing", local_path.c_str() ); + FATAL( "couldn't open {} for writing", local_path.c_str() ); } fwrite( body.c_str(), 1, body.size(), f ); fclose( f ); diff --git a/main.cc b/main.cc @@ -57,7 +57,7 @@ static Game load_game( const char * path ) { const char * error = library_last_error(); if( error ) { - WARN( "load_game: %s", error ); + WARN( "load_game: {}", error ); } return game;