From 89684570486df59d8da65b4c13a008cffe6c7c81 Mon Sep 17 00:00:00 2001 From: Guillaume Ballet Date: Mon, 22 Jun 2020 11:56:02 +0200 Subject: [PATCH] fix typo --- cpu/cpu_dragonfly.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/cpu_dragonfly.go b/cpu/cpu_dragonfly.go index bb33ab8..d87f15d 100644 --- a/cpu/cpu_dragonfly.go +++ b/cpu/cpu_dragonfly.go @@ -141,7 +141,7 @@ func parseDmesgBoot(fileName string) (InfoStat, error) { c.Model = matches[4] t, err := strconv.ParseInt(matches[5], 10, 32) if err != nil { - return c, 0, fmt.Errorf("unable to parse FreeBSD CPU stepping information from %q: %v", line, err) + return c, fmt.Errorf("unable to parse FreeBSD CPU stepping information from %q: %v", line, err) } c.Stepping = int32(t) } else if matches := featuresMatch.FindStringSubmatch(line); matches != nil {