Merge branch 'bugfix/fix-df' into 'master'

Bugfix/fix df

See merge request !11
This commit is contained in:
Fredric Silberberg 2014-10-16 19:21:33 -04:00
commit 9b68953651

View File

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