cpu: remove wrong info copied from openbsd

pull/1530/head
Justin Yang 2 years ago
parent 4e662561c2
commit 6a4ec32f3b

@ -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())
}

Loading…
Cancel
Save