( *pp )->texInfo.m_fScale[0], ( *pp )->texInfo.m_fScale[0],
( *pp )->texInfo.m_fRotate );
- fprintf( pFile, buffer );
+ fprintf( pFile, "%s", buffer );
}
fprintf( pFile, "}\n" );
Error( "Can't write to %s", batpath );
}
fprintf( hFile, "#!/bin/sh \n\n" );
- fprintf( hFile, strSys.GetBuffer() );
+ fprintf( hFile, "%s", strSys.GetBuffer() );
fclose( hFile );
chmod( batpath, 0744 );
#endif
if ( !hFile ) {
Error( "Can't write to %s", batpath );
}
- fprintf( hFile, strSys.GetBuffer() );
+ fprintf( hFile, "%s", strSys.GetBuffer() );
fclose( hFile );
#endif
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 ) {