Small fixes.
This commit is contained in:
@@ -38,7 +38,8 @@ GLIBTOP_SUID_PROC_TIME +
|
|||||||
GLIBTOP_SUID_PROC_SIGNAL +
|
GLIBTOP_SUID_PROC_SIGNAL +
|
||||||
GLIBTOP_SUID_PROC_KERNEL +
|
GLIBTOP_SUID_PROC_KERNEL +
|
||||||
GLIBTOP_SUID_PROC_SEGMENT +
|
GLIBTOP_SUID_PROC_SEGMENT +
|
||||||
GLIBTOP_SUID_PROC_MAP;
|
GLIBTOP_SUID_PROC_MAP +
|
||||||
|
GLIBTOP_SUID_PPP;
|
||||||
|
|
||||||
glibtop_init_func_t _glibtop_init_hook_s [] = {
|
glibtop_init_func_t _glibtop_init_hook_s [] = {
|
||||||
#if !GLIBTOP_SUID_CPU
|
#if !GLIBTOP_SUID_CPU
|
||||||
@@ -91,6 +92,9 @@ glibtop_init_func_t _glibtop_init_hook_s [] = {
|
|||||||
#endif
|
#endif
|
||||||
#if !GLIBTOP_SUID_PROC_MAP
|
#if !GLIBTOP_SUID_PROC_MAP
|
||||||
glibtop_init_proc_map_s,
|
glibtop_init_proc_map_s,
|
||||||
|
#endif
|
||||||
|
#if !GLIBTOP_SUID_PPP
|
||||||
|
glibtop_init_ppp_s,
|
||||||
#endif
|
#endif
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
@@ -123,8 +123,8 @@ glibtop_get_ppp_p (glibtop *server, glibtop_ppp *buf, unsigned short device)
|
|||||||
buf->flags = _glibtop_sysdeps_ppp;
|
buf->flags = _glibtop_sysdeps_ppp;
|
||||||
|
|
||||||
#ifdef HAVE_I4B_ACCT
|
#ifdef HAVE_I4B_ACCT
|
||||||
buf->bytes_in = data.sc_iinb;
|
buf->bytes_in = data.sc_inb;
|
||||||
buf->bytes_out = data.sc_ioutb;
|
buf->bytes_out = data.sc_outb;
|
||||||
buf->flags |= _glibtop_sysdeps_ppp_acct;
|
buf->flags |= _glibtop_sysdeps_ppp_acct;
|
||||||
#endif
|
#endif
|
||||||
#endif /* HAVE_I4B */
|
#endif /* HAVE_I4B */
|
||||||
|
Reference in New Issue
Block a user