diff options
Diffstat (limited to 'sysdeps/openbsd/procuid.c')
-rw-r--r-- | sysdeps/openbsd/procuid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/openbsd/procuid.c b/sysdeps/openbsd/procuid.c index f749b552..d714353e 100644 --- a/sysdeps/openbsd/procuid.c +++ b/sysdeps/openbsd/procuid.c @@ -63,7 +63,7 @@ glibtop_get_proc_uid_p (glibtop *server, glibtop_proc_uid *buf, if (pid == 0) return; /* Get the process information */ - pinfo = kvm_getprocs (server->machine.kd, KERN_PROC_PID, pid, + pinfo = kvm_getprocs (server->machine->kd, KERN_PROC_PID, pid, sizeof (*pinfo), &count); if (pinfo == NULL) { glibtop_warn_io_r (server, "kvm_getprocs (%d)", pid); |