sysctl_bsd.go: golint fixes. Typo fix.

This commit is contained in:
Karsten Weiss 2017-05-14 12:51:57 +02:00
parent 58f50b31f2
commit 732f839810

View file

@ -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,
)