* armhf compile fix
This commit is contained in:
Manuel Sabban 2024-03-12 17:33:22 +01:00 committed by GitHub
parent 1a56a0e0b9
commit bd785ede15
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -103,7 +103,8 @@ func GetFSType(path string) (string, error) {
return "", err
}
fsType, ok := fsTypeMapping[buf.Type]
fsType, ok := fsTypeMapping[int64(buf.Type)] //nolint:unconvert
if !ok {
return "", fmt.Errorf("unknown fstype %d", buf.Type)
}