server->machine is now a pointer, so propagate the change from . to ->.
This commit is contained in:
@@ -62,7 +62,7 @@ glibtop_get_proc_signal_p (glibtop *server,
|
||||
if (pid == 0) return;
|
||||
|
||||
/* Get the process information */
|
||||
pinfo = kvm_getprocs (server->machine.kd, KERN_PROC_PID, pid, &count);
|
||||
pinfo = kvm_getprocs (server->machine->kd, KERN_PROC_PID, pid, &count);
|
||||
if ((pinfo == NULL) || (count != 1)) {
|
||||
glibtop_warn_io_r (server, "kvm_getprocs (%d)", pid);
|
||||
return;
|
||||
|
Reference in New Issue
Block a user