diff options
author | James Dominic P. Guana <guana.histark@gmail.com> | 2021-04-10 18:20:21 +0800 |
---|---|---|
committer | Robert Roth <robert.roth.off@gmail.com> | 2021-04-23 09:48:11 +0000 |
commit | 2ec1815e6ce8da65244c18fbad56c06721f737cb (patch) | |
tree | ebceef606186b5c901c9b4a8edf8fb226c074a96 /lib/sysdeps.c | |
parent | 48595809ed33c216a05a7fb0b0ac73dcd4635624 (diff) | |
download | libgtop-2ec1815e6ce8da65244c18fbad56c06721f737cb.tar.gz |
Revert "Revert "Code clean up and add example""
This reverts commit ea08151ae6582a438db76b738293a0194c964b88.
Diffstat (limited to 'lib/sysdeps.c')
-rw-r--r-- | lib/sysdeps.c | 3 |
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 |