diff options
author | Jordan <me@jordan.im> | 2023-12-16 17:41:01 -0700 |
---|---|---|
committer | Jordan <me@jordan.im> | 2023-12-16 17:41:01 -0700 |
commit | 7ecc048ae012a631bc3f0dcbd62f6190384ea0cd (patch) | |
tree | f8dd09feb67af740fb92d13c458e602f9bee8d45 /vendor/golang.org/x/sys/cpu/hwcap_linux.go | |
parent | a3dac1a28fdc9e42d85c4686858c64597cf1a15b (diff) | |
download | keep-main.tar.gz keep-main.zip |
Diffstat (limited to 'vendor/golang.org/x/sys/cpu/hwcap_linux.go')
-rw-r--r-- | vendor/golang.org/x/sys/cpu/hwcap_linux.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/golang.org/x/sys/cpu/hwcap_linux.go b/vendor/golang.org/x/sys/cpu/hwcap_linux.go index 1d9d91f..34e49f9 100644 --- a/vendor/golang.org/x/sys/cpu/hwcap_linux.go +++ b/vendor/golang.org/x/sys/cpu/hwcap_linux.go @@ -5,7 +5,7 @@ package cpu import ( - "io/ioutil" + "os" ) const ( @@ -39,7 +39,7 @@ func readHWCAP() error { return nil } - buf, err := ioutil.ReadFile(procAuxv) + buf, err := os.ReadFile(procAuxv) if err != nil { // e.g. on android /proc/self/auxv is not accessible, so silently // ignore the error and leave Initialized = false. On some |