summaryrefslogtreecommitdiff
path: root/lib/sysdeps.c
diff options
context:
space:
mode:
authorJames Dominic P. Guana <guana.histark@gmail.com>2020-05-26 18:53:49 +0800
committerRobert Roth <robert.roth.off@gmail.com>2020-11-04 13:38:03 +0000
commit7396970afe2290488fd072612a650353dd13a16d (patch)
tree4600f2a3144f25a578138164f85ef91c70aecfc3 /lib/sysdeps.c
parent9cbb3b91f11ad0c4944a1428d609201c054cffab (diff)
downloadlibgtop-7396970afe2290488fd072612a650353dd13a16d.tar.gz
Code clean up and add example
Diffstat (limited to 'lib/sysdeps.c')
-rw-r--r--lib/sysdeps.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sysdeps.c b/lib/sysdeps.c
index 96292568..beb950e8 100644
--- a/lib/sysdeps.c
+++ b/lib/sysdeps.c
@@ -139,6 +139,9 @@ const _glibtop_init_func_t _glibtop_init_hook_p [] = {
#if GLIBTOP_SUID_CPU
_glibtop_init_cpu_p,
#endif
+#if GLIBTOP_SUID_DISK
+ _glibtop_init_disk_p,
+#endif
#if GLIBTOP_SUID_MEM
_glibtop_init_mem_p,
#endif