Update gopsutil dependency to enable 32-bit builds

This commit is contained in:
Cameron Sparr
2015-09-17 16:35:38 -07:00
parent df15e7b379
commit bbb27fa484
4 changed files with 22 additions and 15 deletions

View File

@@ -318,7 +318,7 @@ func GetDiskSerialNumber(name string) string {
}
func getFsType(stat syscall.Statfs_t) string {
t := stat.Type
t := int64(stat.Type)
ret, ok := fsTypeMap[t]
if !ok {
return ""