Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit 7bc5833

Browse files
committed
pkg/parsers/kernel: gofmt hex value (preparation for Go 1.13+)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit 7663aebc12643fdeba5ae7ae790662d37cb5f19d) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 71dec69ef554e889f53dc2909a213dbab7499a84 Component: engine
1 parent a62d4a6 commit 7bc5833

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/engine/pkg/parsers/kernel/kernel_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func GetKernelVersion() (*VersionInfo, error) {
4444
}
4545

4646
KVI.major = int(dwVersion & 0xFF)
47-
KVI.minor = int((dwVersion & 0XFF00) >> 8)
47+
KVI.minor = int((dwVersion & 0xFF00) >> 8)
4848
KVI.build = int((dwVersion & 0xFFFF0000) >> 16)
4949

5050
return KVI, nil

0 commit comments

Comments
 (0)