mem[darwin]: fix VirtualMem stat multiply.

This commit is contained in:
Shirou WAKAYAMA 2015-07-23 11:39:22 +09:00
parent a22c0c27d9
commit a9e65ec556
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ func VirtualMemory() (*VirtualMemoryStat, error) {
}
ret := &VirtualMemoryStat{
Total: parsed[0],
Total: parsed[0] * p,
Free: parsed[1] * p,
}