s/server->machine/server->_priv->machine/g;
This commit is contained in:
@@ -76,7 +76,7 @@ glibtop_get_proclist_p (glibtop *server, glibtop_proclist *buf,
|
||||
which = (int)(real_which & GLIBTOP_KERN_PROC_MASK);
|
||||
|
||||
/* Get the process data */
|
||||
pinfo = kvm_getprocs (server->machine.kd, which, arg, &count);
|
||||
pinfo = kvm_getprocs (server->_priv->machine.kd, which, arg, &count);
|
||||
if ((pinfo == NULL) || (count < 1)) {
|
||||
glibtop_warn_io_r (server, "kvm_getprocs (proclist)");
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user