From db96c95ac76cb7c8e90119ba0968e6058486dd11 Mon Sep 17 00:00:00 2001 From: simon987 Date: Thu, 16 Jul 2020 19:19:23 -0400 Subject: [PATCH] log fix #73 --- ci/build.sh | 2 +- src/main.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/build.sh b/ci/build.sh index c5f0e43..c6a13e6 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VCPKG_ROOT="/vcpkg" +VCPKG_ROOT="/usr/share/vcpkg" rm *.gz diff --git a/src/main.c b/src/main.c index b0b7231..114409f 100644 --- a/src/main.c +++ b/src/main.c @@ -75,7 +75,7 @@ void _logf(const char *filepath, int level, char *format, ...) { va_start(args, format); if (level == LEVEL_FATAL) { - sist_logf(filepath, level, format, args); + vsist_logf(filepath, level, format, args); exit(-1); } @@ -85,7 +85,7 @@ void _logf(const char *filepath, int level, char *format, ...) { vsist_logf(filepath, level, format, args); } } else { - sist_logf(filepath, level, format, args); + vsist_logf(filepath, level, format, args); } } va_end(args);