[darwin] hw.memsize already in bytes

This commit is contained in:
Nikolay Sivko 2015-04-08 14:53:21 +03:00
parent 889c8c0bd5
commit 06282a319c
1 changed files with 1 additions and 1 deletions

View File

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