1
0
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:
shirou 2018-05-02 14:46:44 +09:00
parent 7c23d960dc
commit 6a55ce0958

View File

@ -425,7 +425,7 @@ func GetLabel(name string) string {
if err != nil { if err != nil {
return "" return ""
} else { } else {
return dmname return string(dmname)
} }
} }