summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Klausner <tk@giga.or.at>2015-12-30 12:48:04 +0100
committerThomas Klausner <tk@giga.or.at>2015-12-30 12:48:04 +0100
commit74765abeff97545d06ba8d1c3a0abf4d8c4686ed (patch)
treeb011c32a80f2469786372a242a5bbef129708aee
parenteae0a65f8d0c736ff31b6904f834fc449ac96a2b (diff)
downloadpsutil-74765abeff97545d06ba8d1c3a0abf4d8c4686ed.tar.gz
Remove unnecessary whitespace.
-rw-r--r--psutil/arch/bsd/netbsd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/psutil/arch/bsd/netbsd.c b/psutil/arch/bsd/netbsd.c
index fd9e7290..b4eea6aa 100644
--- a/psutil/arch/bsd/netbsd.c
+++ b/psutil/arch/bsd/netbsd.c
@@ -293,7 +293,7 @@ psutil_get_proc_list(kinfo_proc **procList, size_t *procCount) {
static const int name[] = { CTL_KERN, KERN_PROC, KERN_PROC, 0 };
// Declaring name as const requires us to cast it when passing it to
// sysctl because the prototype doesn't include the const modifier.
- size_t length;
+ size_t length;
char errbuf[_POSIX2_LINE_MAX];
kinfo_proc *x;
int cnt;
@@ -411,11 +411,11 @@ error:
PyObject *
psutil_virtual_mem(PyObject *self, PyObject *args) {
- unsigned int total, active, inactive, wired, cached, free;
- size_t size = sizeof(total);
+ unsigned int total, active, inactive, wired, cached, free;
+ size_t size = sizeof(total);
struct uvmexp_sysctl uvmexp;
- int mib[] = {CTL_VM, VM_UVMEXP2};
- long pagesize = getpagesize();
+ int mib[] = {CTL_VM, VM_UVMEXP2};
+ long pagesize = getpagesize();
size = sizeof(uvmexp);
if (sysctl(mib, 2, &uvmexp, &size, NULL, 0) < 0) {