diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2016-01-20 13:33:52 +0100 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2016-01-20 13:33:52 +0100 |
commit | ad345515370fbbef051a41eefefabd3299d81903 (patch) | |
tree | 5ac5387c9ad1aa1bf989a491da50649368f579f9 | |
parent | cf6a6f465ae9d28116de64c79cfee17797a7a5a7 (diff) | |
parent | 8304c4d050d629381b8762a66c5fc88f505261cd (diff) | |
download | psutil-ad345515370fbbef051a41eefefabd3299d81903.tar.gz |
Merge branch 'master' of github.com:giampaolo/psutil
-rw-r--r-- | psutil/arch/bsd/freebsd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/psutil/arch/bsd/freebsd.c b/psutil/arch/bsd/freebsd.c index 94a1001c..3b7fc478 100644 --- a/psutil/arch/bsd/freebsd.c +++ b/psutil/arch/bsd/freebsd.c @@ -473,7 +473,8 @@ error: */ PyObject * psutil_virtual_mem(PyObject *self, PyObject *args) { - unsigned int total, active, inactive, wired, cached, free; + unsigned long total; + unsigned int active, inactive, wired, cached, free; size_t size = sizeof(total); struct vmtotal vm; int mib[] = {CTL_VM, VM_METER}; |