SW: Fix -Wformat-security

git-svn-id: https://svn.eduke32.com/eduke32@7553 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2019-04-10 01:00:15 +00:00 committed by Christoph Oelckers
parent 71847ec0f1
commit 6c62f4e52d
5 changed files with 8 additions and 11 deletions

View file

@ -753,7 +753,7 @@ SWBOOL CacheSound(int num, int type)
if (!OpenSound(vp, &handle, &length))
{
sprintf(ds,"Could not open sound %s, num %d, priority %d\n",vp->name,num,vp->priority);
CON_ConMessage(ds);
CON_ConMessage("%s", ds);
return FALSE;
}