diff --git a/internal/common/common_linux.go b/internal/common/common_linux.go index 3d0fc50..c0aa9c7 100644 --- a/internal/common/common_linux.go +++ b/internal/common/common_linux.go @@ -35,7 +35,7 @@ func NumProcs() (uint64, error) { } defer f.Close() - list, err := f.Readdir(-1) + list, err := f.Readdirnames(-1) if err != nil { return 0, err }