Fix portability issues for arm on raspberry pi

This commit is contained in:
Harshavardhana
2015-10-20 11:22:00 -07:00
parent 27612b9aed
commit b74852116a
22 changed files with 162 additions and 19 deletions

View File

@@ -46,7 +46,7 @@ func getFSType(path string) (string, error) {
if err != nil {
return "", err
}
fsTypeHex := strconv.FormatInt(s.Type, 16)
fsTypeHex := strconv.FormatInt(int64(s.Type), 16)
fsTypeString, ok := fsType2StringMap[fsTypeHex]
if ok == false {
return "UNKNOWN", nil