Change disk example read/write unit to bytes

Also add units to headers
This commit is contained in:
ToMe25
2023-09-13 17:59:03 +02:00
committed by ToMe25
parent 1efbbd1297
commit c7be349744
2 changed files with 6 additions and 6 deletions

View File

@@ -40,7 +40,7 @@ main (int argc, char *argv [])
model = g_hash_table_lookup (sysinfo->cpuinfo [1].values, "model name");
printf ("\nProcessor Model: %s\n", g_strdup (model));
printf ("Number of Cores: %d\n\n", sysinfo->ncpu);
printf ("Number of Cores: %lu\n\n", sysinfo->ncpu);
glibtop_close ();