summaryrefslogtreecommitdiff
path: root/sysdeps/openbsd/prockernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/openbsd/prockernel.c')
-rw-r--r--sysdeps/openbsd/prockernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/openbsd/prockernel.c b/sysdeps/openbsd/prockernel.c
index 9e0654a9..2b28033a 100644
--- a/sysdeps/openbsd/prockernel.c
+++ b/sysdeps/openbsd/prockernel.c
@@ -72,7 +72,7 @@ glibtop_get_proc_kernel_p (glibtop *server,
glibtop_suid_enter (server);
/* 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);