]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/common/inout.c
fix warning: format not a string literal and no format arguments
[xonotic/netradiant.git] / tools / quake3 / common / inout.c
index 74a111b8eaa5575515019cfc69e660ffcb3e7655..acf492a295d840be308741607564a256e83ec90f 100644 (file)
@@ -264,7 +264,7 @@ void FPrintf( int flag, char *buf ){
        static qboolean bGotXML = qfalse;
        char level[2];
 
-       printf( buf );
+       printf( "%s", buf );
 
        // the following part is XML stuff only.. but maybe we don't want that message to go down the XML pipe?
        if ( flag == SYS_NOXML ) {