Merge branch 'bugfix/fix-df' into 'master'
Bugfix/fix df See merge request !11
This commit is contained in:
commit
9b68953651
@ -27,7 +27,7 @@ func NewFilesystem(args []string) (procPtr *Filesystem, err error) {
|
|||||||
// TODO: add error checking
|
// TODO: add error checking
|
||||||
size, _ := strconv.Atoi(args[1])
|
size, _ := strconv.Atoi(args[1])
|
||||||
used, _ := strconv.Atoi(args[2])
|
used, _ := strconv.Atoi(args[2])
|
||||||
available, _ := strconv.Atoi(args[2])
|
available, _ := strconv.Atoi(args[3])
|
||||||
procPtr = &Filesystem{
|
procPtr = &Filesystem{
|
||||||
args[0], size, used, available, args[4]}
|
args[0], size, used, available, args[4]}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user