summaryrefslogtreecommitdiff
path: root/sysdeps/freebsd/procstate.c
diff options
context:
space:
mode:
authorMartin Baulig <martin@src.gnome.org>1999-12-23 13:01:57 +0000
committerMartin Baulig <martin@src.gnome.org>1999-12-23 13:01:57 +0000
commite03b665dd1e3fe9c711e92fd8e5a3480495c82a7 (patch)
treee4b7bd26008ea10497149656df2f7b1471884969 /sysdeps/freebsd/procstate.c
parentd0441219cb09bf781a0ce0eef8caacda4c5b41ce (diff)
downloadlibgtop-e03b665dd1e3fe9c711e92fd8e5a3480495c82a7.tar.gz
s/server->machine/server->_priv->machine/g;
Diffstat (limited to 'sysdeps/freebsd/procstate.c')
-rw-r--r--sysdeps/freebsd/procstate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/freebsd/procstate.c b/sysdeps/freebsd/procstate.c
index c2f0466d..c000838d 100644
--- a/sysdeps/freebsd/procstate.c
+++ b/sysdeps/freebsd/procstate.c
@@ -72,7 +72,8 @@ glibtop_get_proc_state_p (glibtop *server,
if (pid == 0) return -1;
/* Get the process information */
- pinfo = kvm_getprocs (server->machine.kd, KERN_PROC_PID, pid, &count);
+ pinfo = kvm_getprocs (server->_priv->machine.kd,
+ KERN_PROC_PID, pid, &count);
if ((pinfo == NULL) || (count != 1)) {
glibtop_warn_io_r (server, "kvm_getprocs (%d)", pid);
return -1;