diff --git a/filesystem.go b/filesystem.go index 728827a..2355d6f 100644 --- a/filesystem.go +++ b/filesystem.go @@ -27,7 +27,7 @@ func NewFilesystem(args []string) (procPtr *Filesystem, err error) { // TODO: add error checking size, _ := strconv.Atoi(args[1]) used, _ := strconv.Atoi(args[2]) - available, _ := strconv.Atoi(args[2]) + available, _ := strconv.Atoi(args[3]) procPtr = &Filesystem{ args[0], size, used, available, args[4]} }