summaryrefslogtreecommitdiff
path: root/lib/sysdeps.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sysdeps.c')
-rw-r--r--lib/sysdeps.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/sysdeps.c b/lib/sysdeps.c
index 2a761576..96292568 100644
--- a/lib/sysdeps.c
+++ b/lib/sysdeps.c
@@ -27,6 +27,7 @@
const unsigned long glibtop_server_features =
GLIBTOP_SUID_CPU +
+GLIBTOP_SUID_DISK +
GLIBTOP_SUID_MEM +
GLIBTOP_SUID_SWAP +
GLIBTOP_SUID_UPTIME +
@@ -56,6 +57,9 @@ const _glibtop_init_func_t _glibtop_init_hook_s [] = {
#if !GLIBTOP_SUID_CPU
_glibtop_init_cpu_s,
#endif
+#if !GLIBTOP_SUID_DISK
+ _glibtop_init_disk_s,
+#endif
#if !GLIBTOP_SUID_MEM
_glibtop_init_mem_s,
#endif