]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - exec.cpp
Fix #158
[xonotic/gmqcc.git] / exec.cpp
index bfb090cafcee68d580068ba1e6ac9ebd562c1946..e76004ec313a4b5c7e6e29796e43741a618666b8 100644 (file)
--- 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)