From 4172c2916684655a9742de99384be8110922ed07 Mon Sep 17 00:00:00 2001 From: Ganesan Rajagopal Date: Sun, 1 Jan 2023 21:27:05 +0530 Subject: [PATCH] Fix typo (#14149) --- lib/std/os/windows.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/std/os/windows.zig b/lib/std/os/windows.zig index ea09631719..f261b9cae1 100644 --- a/lib/std/os/windows.zig +++ b/lib/std/os/windows.zig @@ -1493,9 +1493,9 @@ pub fn VirtualFree(lpAddress: ?LPVOID, dwSize: usize, dwFreeType: DWORD) void { assert(kernel32.VirtualFree(lpAddress, dwSize, dwFreeType) != 0); } -pub const VirtualQuerryError = error{Unexpected}; +pub const VirtualQueryError = error{Unexpected}; -pub fn VirtualQuery(lpAddress: ?LPVOID, lpBuffer: PMEMORY_BASIC_INFORMATION, dwLength: SIZE_T) VirtualQuerryError!SIZE_T { +pub fn VirtualQuery(lpAddress: ?LPVOID, lpBuffer: PMEMORY_BASIC_INFORMATION, dwLength: SIZE_T) VirtualQueryError!SIZE_T { const rc = kernel32.VirtualQuery(lpAddress, lpBuffer, dwLength); if (rc == 0) { switch (kernel32.GetLastError()) {