From 6a4ec32f3b549c7d2ead06b627b035dea1268968 Mon Sep 17 00:00:00 2001 From: Justin Yang Date: Sat, 2 Sep 2023 23:01:23 +0800 Subject: [PATCH] cpu: remove wrong info copied from openbsd --- cpu/cpu_netbsd.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cpu/cpu_netbsd.go b/cpu/cpu_netbsd.go index a728f67a..facc4237 100644 --- a/cpu/cpu_netbsd.go +++ b/cpu/cpu_netbsd.go @@ -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()) }