From c758c3ded963aec755f9609eac3ae0343aec6cae Mon Sep 17 00:00:00 2001 From: Bryan Roe Date: Mon, 23 Dec 2019 17:10:12 -0800 Subject: [PATCH] Updated, so KVMSlave logging works on Windows --- meshcore/KVM/Windows/kvm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/meshcore/KVM/Windows/kvm.c b/meshcore/KVM/Windows/kvm.c index 17f8dc3..adfaaa2 100644 --- a/meshcore/KVM/Windows/kvm.c +++ b/meshcore/KVM/Windows/kvm.c @@ -1018,6 +1018,7 @@ DWORD WINAPI kvm_server_mainloop(LPVOID parm) str[strLen - 4] = 0; // We're going to convert .exe to _kvm.dmp g_ILibCrashDump_path = ILibMemory_Allocate((strLen * 2) + 10, 0, NULL, NULL); // Add enough space to add '.dmp' to the end of the path swprintf_s((wchar_t*)g_ILibCrashDump_path, strLen + 5, L"%s_kvm.dmp", str); + ILibCriticalLogFilename = "KVMSlave.log"; } __try