summaryrefslogtreecommitdiff
path: root/sysdeps/common/default.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 /sysdeps/common/default.c
parent9cbb3b91f11ad0c4944a1428d609201c054cffab (diff)
downloadlibgtop-7396970afe2290488fd072612a650353dd13a16d.tar.gz
Code clean up and add example
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);
}