mirror of
https://github.com/shirou/gopsutil.git
synced 2025-04-26 13:48:59 +08:00
[disk]linux: fix Getlabel
This commit is contained in:
parent
7c23d960dc
commit
6a55ce0958
@ -425,7 +425,7 @@ func GetLabel(name string) string {
|
||||
if err != nil {
|
||||
return ""
|
||||
} else {
|
||||
return dmname
|
||||
return string(dmname)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user