perl -pni -e 's,server->machine,server->_priv->machine,g' *.c
perl -pni -e 's,server->machine,server->_priv->machine,g' *.h
This commit is contained in:
@@ -58,7 +58,7 @@ glibtop_get_proc_segment_p (glibtop *server,
|
||||
|
||||
#if 0
|
||||
/* Get the process info from the kernel */
|
||||
kvm_getprocs (server->machine.kd, KERN_PROC_PID, pid, count);
|
||||
kvm_getprocs (server->_priv->machine.kd, KERN_PROC_PID, pid, count);
|
||||
if (*count != 1) {
|
||||
return -1; /* the zeroed-out buffer indicating no data */
|
||||
}
|
||||
|
Reference in New Issue
Block a user