Skip to content

Commit

Permalink
filefd_linux.go: Fix a typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
knweiss authored and Karsten Weiss committed Jun 20, 2016
1 parent 344fe2c commit 69ba0e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collector/filefd_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func parseFileFDStats(r io.Reader, fileName string) (map[string]string, error) {
var fileFDStat = map[string]string{}
// The file-nr proc is only 1 line with 3 values.
fileFDStat["allocated"] = line[0]
// The second value is skipped as it will alwasy be zero in linux 2.6.
// The second value is skipped as it will always be zero in linux 2.6.
fileFDStat["maximum"] = line[2]

return fileFDStat, nil
Expand Down

0 comments on commit 69ba0e9

Please sign in to comment.