fix a small typo in an error message.

This commit is contained in:
Carlos Amedee 2016-02-09 23:22:29 -05:00
parent ca050b599d
commit 8578a3281a
1 changed files with 1 additions and 1 deletions

View File

@ -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
}