From b5f5c2975c7a1e94683cc526cbe4f46e9f264aae Mon Sep 17 00:00:00 2001 From: Ash Keel Date: Sun, 25 Feb 2024 16:56:37 +0100 Subject: [PATCH] fix: woops this is different --- utils/stderr_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/stderr_windows.go b/utils/stderr_windows.go index 4e0f5ca..3672a59 100644 --- a/utils/stderr_windows.go +++ b/utils/stderr_windows.go @@ -14,7 +14,7 @@ var ( ) func setStdHandle(stdhandle int32, handle syscall.Handle) error { - r0, _, e1 := syscall.SyscallN(procSetStdHandle.Addr(), 2, uintptr(stdhandle), uintptr(handle), 0) + r0, _, e1 := syscall.SyscallN(procSetStdHandle.Addr(), uintptr(stdhandle), uintptr(handle), 0) if r0 == 0 { if e1 != 0 { return error(e1)