diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2016-02-29 12:53:28 +0100 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2016-02-29 12:53:28 +0100 |
commit | 39c84ff9f46e1056bfff568c1bb1369182017472 (patch) | |
tree | 131dd88658dc1e35da88a89ef1cf012596546a95 | |
parent | 65c89727ffaea201123ecfbaa45c42cb280cc4c0 (diff) | |
download | psutil-39c84ff9f46e1056bfff568c1bb1369182017472.tar.gz |
#780: attempt to fix compilation issues on OSX
-rw-r--r-- | psutil/_psutil_osx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/_psutil_osx.c b/psutil/_psutil_osx.c index 8c3d81e4..c02a38bd 100644 --- a/psutil/_psutil_osx.c +++ b/psutil/_psutil_osx.c @@ -603,7 +603,7 @@ psutil_proc_memory_uss(PyObject *self, PyObject *args) { // Roughly based on libtop_update_vm_regions in // http://www.opensource.apple.com/source/top/top-100.1.2/libtop.c - for (addr; ; addr += size) { + for (addr = 0; ; addr += size) { kr = mach_vm_region( task, &addr, &size, VM_REGION_TOP_INFO, (vm_region_info_t)&info, &info_count, &object_name); |