perl -pni -e 's,server->machine,server->_priv->machine,g' *.c *.h
This commit is contained in:
@@ -81,7 +81,7 @@ glibtop_get_proclist_p (glibtop *server, glibtop_proclist *buf,
|
|||||||
|
|
||||||
memset (buf, 0, sizeof (glibtop_proclist));
|
memset (buf, 0, sizeof (glibtop_proclist));
|
||||||
|
|
||||||
for (entry = 0; entry < server->machine.proctable_entries;
|
for (entry = 0; entry < server->_priv->machine.proctable_entries;
|
||||||
entry += ELEMENTS_PER_ENTRY)
|
entry += ELEMENTS_PER_ENTRY)
|
||||||
{
|
{
|
||||||
/* !!! THE FOLLOWING CODE RUNS SUID ROOT -
|
/* !!! THE FOLLOWING CODE RUNS SUID ROOT -
|
||||||
|
Reference in New Issue
Block a user