1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #39883 from thaJeztah/gofmt_pkg_parsers

pkg/parsers/kernel: gofmt hex value (preparation for Go 1.13+)
This commit is contained in:
Tibor Vass 2019-09-10 14:23:36 -07:00 committed by GitHub
commit 086ac1e022
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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