diff options
Diffstat (limited to 'src/utils/log.c')
-rw-r--r-- | src/utils/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/log.c b/src/utils/log.c index 54253de..6d95628 100644 --- a/src/utils/log.c +++ b/src/utils/log.c @@ -7,7 +7,7 @@ void _printLogBack(const char *format, const char *file, int line, ...) { va_list args; - va_start(args, end); + va_start(args, line); char *errorStr; vasprintf(&errorStr, format, args); @@ -18,7 +18,7 @@ void _printLogBack(const char *format, const char *file, int line, ...) { void _printErrorWarningBack(const char *file, int line, const char *begin, const char *end, bool isError, const char *format, ...) { va_list args; - va_start(args, end); + va_start(args, format); char *errorStr; vasprintf(&errorStr, format, args); |