mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-10 07:34:09 -08:00
sysctl_bsd.go: golint fixes. Typo fix.
This commit is contained in:
parent
58f50b31f2
commit
732f839810
|
@ -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,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue