mirror of
https://github.com/shirou/gopsutil.git
synced 2025-04-26 13:48:59 +08:00
Support 32-bit linux, this field is int32 on 32-bit systems
This commit is contained in:
parent
9c0474c2a7
commit
389d17e8a0
@ -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 ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user