Merge pull request #14148 from bayandin/fix-m2-detection

CPU: fix M2 family detection
This commit is contained in:
Alexander Bayandin 2022-11-16 12:09:57 +00:00 committed by GitHub
commit c013762945
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,7 +152,7 @@ module Hardware
end
def sysctl_int(key)
sysctl_n(key).to_i
sysctl_n(key).to_i & 0xffffffff
end
def sysctl_n(*keys)