Now using correct features' parameter in call to glibtop_init_s'.
This commit is contained in:
@@ -45,7 +45,7 @@ glibtop_get_swap_s (glibtop *server, glibtop_swap *buf)
|
||||
{
|
||||
union table tbl;
|
||||
|
||||
glibtop_init_s (&server, 0, 0);
|
||||
glibtop_init_s (&server, GLIBTOP_SYSDEPS_SWAP, 0);
|
||||
|
||||
memset (buf, 0, sizeof (glibtop_swap));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user