Merge branch 'master' of github.com:shirou/gopsutil

This commit is contained in:
Shirou WAKAYAMA 2014-04-24 19:14:41 +09:00
commit 5ed730e5d0
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ func getTerminalMap() (map[uint64]string, error) {
for _, name := range termfiles {
stat := syscall.Stat_t{}
syscall.Stat(name, &stat)
rdev := stat.Rdev
rdev := uint64(stat.Rdev)
ret[rdev] = strings.Replace(name, "/dev", "", -1)
}
return ret, nil