summaryrefslogtreecommitdiff
path: root/sysdeps/common/default.c
diff options
context:
space:
mode:
authorJames Dominic P. Guana <guana.histark@gmail.com>2021-04-10 18:20:21 +0800
committerRobert Roth <robert.roth.off@gmail.com>2021-04-23 09:48:11 +0000
commit2ec1815e6ce8da65244c18fbad56c06721f737cb (patch)
treeebceef606186b5c901c9b4a8edf8fb226c074a96 /sysdeps/common/default.c
parent48595809ed33c216a05a7fb0b0ac73dcd4635624 (diff)
downloadlibgtop-2ec1815e6ce8da65244c18fbad56c06721f737cb.tar.gz
Revert "Revert "Code clean up and add example""
This reverts commit ea08151ae6582a438db76b738293a0194c964b88.
Diffstat (limited to 'sysdeps/common/default.c')
-rw-r--r--sysdeps/common/default.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/common/default.c b/sysdeps/common/default.c
index 653a4f5a..ff6c3ecd 100644
--- a/sysdeps/common/default.c
+++ b/sysdeps/common/default.c
@@ -72,9 +72,9 @@ glibtop_get_cpu(glibtop_cpu *buf)
*
*/
void
-glibtop_get_cpu (glibtop_cpu *buf)
+glibtop_get_disk (glibtop_disk *buf)
{
- glibtop_get_cpu_l (glibtop_global_server, buf);
+ glibtop_get_disk_l (glibtop_global_server, buf);
}