From 71dec69ef554e889f53dc2909a213dbab7499a84 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Wed, 17 Jul 2019 16:44:03 +0200 Subject: [PATCH] pkg/parsers/kernel: gofmt hex value (preparation for Go 1.13+) Signed-off-by: Sebastiaan van Stijn (cherry picked from commit 7663aebc12643fdeba5ae7ae790662d37cb5f19d) Signed-off-by: Sebastiaan van Stijn --- pkg/parsers/kernel/kernel_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/parsers/kernel/kernel_windows.go b/pkg/parsers/kernel/kernel_windows.go index b7b15a1fd2..a0712ce633 100644 --- a/pkg/parsers/kernel/kernel_windows.go +++ b/pkg/parsers/kernel/kernel_windows.go @@ -44,7 +44,7 @@ func GetKernelVersion() (*VersionInfo, error) { } KVI.major = int(dwVersion & 0xFF) - KVI.minor = int((dwVersion & 0XFF00) >> 8) + KVI.minor = int((dwVersion & 0xFF00) >> 8) KVI.build = int((dwVersion & 0xFFFF0000) >> 16) return KVI, nil