From ef1e495abadc75c166c677f3199121bd7ffde180 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Thu, 5 Oct 2023 01:25:09 +0900 Subject: [PATCH] internal/winver: fix a panic message --- internal/winver/api_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/winver/api_windows.go b/internal/winver/api_windows.go index 3f79605a2..a200091ab 100644 --- a/internal/winver/api_windows.go +++ b/internal/winver/api_windows.go @@ -78,7 +78,7 @@ func _RtlVerifyVersionInfo(versionInfo *_OSVERSIONINFOEXW, typeMask uint32, cond // Adjust the alignment for ARM. r, _, _ = procRtlVerifyVersionInfo.Call(uintptr(unsafe.Pointer(versionInfo)), uintptr(typeMask), 0, uintptr(conditionMask), uintptr(conditionMask>>32)) default: - panic(fmt.Sprintf("goglfw: GOARCH=%s is not supported", runtime.GOARCH)) + panic(fmt.Sprintf("winver: GOARCH=%s is not supported", runtime.GOARCH)) } } return int32(r)