1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-04-24 13:48:56 +08:00

cpu: remove wrong info copied from openbsd

This commit is contained in:
Justin Yang 2023-09-02 23:01:23 +08:00
parent 4e662561c2
commit 6a4ec32f3b

View File

@ -1,5 +1,5 @@
//go:build openbsd
// +build openbsd
//go:build netbsd
// +build netbsd
package cpu
@ -89,7 +89,7 @@ func TimesWithContext(ctx context.Context, percpu bool) (ret []TimesStat, err er
return ret, nil
}
// Returns only one (minimal) CPUInfoStat on OpenBSD
// Returns only one (minimal) CPUInfoStat on NetBSD
func Info() ([]InfoStat, error) {
return InfoWithContext(context.Background())
}