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

Commit 446d2c5

Browse files
authored
Merge pull request #448 from thaJeztah/19.03_backport_gofmt_pkg_parsers
[19.03 backport] pkg/parsers/kernel: gofmt hex value (preparation for Go 1.13+) Upstream-commit: 8270df208ba52d42bc3311239d56e5c815c45e90 Component: engine
2 parents 3a72499 + 7bc5833 commit 446d2c5

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)