From 732f8398104e9586dfed4837dcdfb55868fc33e4 Mon Sep 17 00:00:00 2001 From: Karsten Weiss Date: Sun, 14 May 2017 12:51:57 +0200 Subject: [PATCH] sysctl_bsd.go: golint fixes. Typo fix. --- collector/sysctl_bsd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector/sysctl_bsd.go b/collector/sysctl_bsd.go index 1cc5ec6f..1aed5530 100644 --- a/collector/sysctl_bsd.go +++ b/collector/sysctl_bsd.go @@ -94,7 +94,7 @@ func (b bsdSysctl) Value() (float64, error) { if len(raw) != (C.sizeof_time_t + C.sizeof_suseconds_t) { // Shouldn't get here, unless the ABI changes... return 0, fmt.Errorf( - "Length of bytes recieved from sysctl (%d) does not match expected bytes (%d).", + "length of bytes received from sysctl (%d) does not match expected bytes (%d)", len(raw), C.sizeof_time_t+C.sizeof_suseconds_t, )