From 8578a3281af3de0be6b96f4ac672d4091c8a0bed Mon Sep 17 00:00:00 2001 From: Carlos Amedee Date: Tue, 9 Feb 2016 23:22:29 -0500 Subject: [PATCH] fix a small typo in an error message. --- collector/diskstats_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector/diskstats_linux.go b/collector/diskstats_linux.go index 91969696..352ad7d8 100644 --- a/collector/diskstats_linux.go +++ b/collector/diskstats_linux.go @@ -258,7 +258,7 @@ func parseDiskStats(r io.Reader) (map[string]map[int]string, error) { bytesWritten, err := convertDiskSectorsToBytes(diskStats[dev][6]) if err != nil { - return nil, fmt.Errorf("invalid value for sectors read in %s: %s", procFilePath("diskstats"), scanner.Text()) + return nil, fmt.Errorf("invalid value for sectors written in %s: %s", procFilePath("diskstats"), scanner.Text()) } diskStats[dev][12] = bytesWritten }