X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=exec.cpp;h=e76004ec313a4b5c7e6e29796e43741a618666b8;hp=bfb090cafcee68d580068ba1e6ac9ebd562c1946;hb=69fa4f8dbd018c092a1e53671f6ce5d4248aac5c;hpb=76278e8b97578f210b34784a55925b043098def9 diff --git a/exec.cpp b/exec.cpp index bfb090c..e76004e 100644 --- a/exec.cpp +++ b/exec.cpp @@ -629,7 +629,7 @@ static qcvm_parameter *main_params = nullptr; if (prog->argc != (num)) { \ prog->vmerror++; \ fprintf(stderr, "ERROR: invalid number of arguments for %s: %i, expected %i\n", \ - __FUNCTION__, prog->argc, (num)); \ + __func__, prog->argc, (num)); \ return -1; \ } \ } while (0)