From 190ea02e0d0c939c0b558927b63a03e30af4749a Mon Sep 17 00:00:00 2001 From: Krzysztof Wolicki Date: Sat, 27 Jan 2024 03:43:04 +0100 Subject: [PATCH] os.windows: Fix missing correction from #18657 --- lib/std/os/windows.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/os/windows.zig b/lib/std/os/windows.zig index 974699a73..d48261a97 100644 --- a/lib/std/os/windows.zig +++ b/lib/std/os/windows.zig @@ -432,7 +432,7 @@ pub fn GetQueuedCompletionStatusEx( .ABANDONED_WAIT_0 => error.Aborted, .OPERATION_ABORTED => error.Cancelled, .HANDLE_EOF => error.EOF, - .IMEOUT => error.Timeout, + .WAIT_TIMEOUT => error.Timeout, else => |err| unexpectedError(err), }; }