Fix compilation error on Windows

This commit is contained in:
timvisee 2021-11-10 23:56:07 +01:00
parent 99af0c6437
commit 69b964b603
No known key found for this signature in database
GPG Key ID: B8DB720BC383E172

View File

@ -11,7 +11,7 @@ pub unsafe fn force_kill(pid: u32) -> bool {
debug!(target: "lazymc", "Sending force kill to {} to kill server", pid);
let handle = OpenProcess(PROCESS_TERMINATE, FALSE, pid);
if handle == NULL {
warn!(target: "lazymc", "Failed to open process handle in order to kill it", pid);
warn!(target: "lazymc", "Failed to open process handle in order to kill it");
return false;
}