hdt: Fixing cpu cores naming
authorErwan Velu <erwan.velu@free.fr>
Fri, 27 Nov 2009 19:41:16 +0000 (20:41 +0100)
committerErwan Velu <erwan.velu@free.fr>
Fri, 4 Dec 2009 09:11:15 +0000 (10:11 +0100)
Impact: Visual

Fixing cpu cores naming

com32/hdt/hdt-cli-cpu.c
com32/hdt/hdt-menu-processor.c

index 61b733d..1b080a2 100644 (file)
@@ -43,7 +43,7 @@ void main_show_cpu(int argc __unused, char **argv __unused,
     more_printf("CPU\n");
     more_printf(" Manufacturer : %s \n", hardware->cpu.vendor);
     more_printf(" Product      : %s \n", del_multi_spaces(hardware->cpu.model));
-    more_printf(" Number Cores : %d \n", hardware->cpu.num_cores);
+    more_printf(" CPU Cores    : %d \n", hardware->cpu.num_cores);
     more_printf(" L2 Cache     : %dK\n", hardware->cpu.l2_cache_size);
 
     memset(features, 0, sizeof(features));
@@ -84,7 +84,7 @@ static void show_cpu(int argc __unused, char **argv __unused,
     more_printf("CPU\n");
     more_printf("Vendor    : %s\n", hardware->cpu.vendor);
     more_printf("Model     : %s\n", hardware->cpu.model);
-    more_printf("Num. Cores: %d\n", hardware->cpu.num_cores);
+    more_printf("CPU Cores : %d\n", hardware->cpu.num_cores);
     more_printf("L1 Cache  : %dK + %dK (I + D) \n",
                hardware->cpu.l1_instruction_cache_size,
                hardware->cpu.l1_data_cache_size);
index 4f7ac80..53b04b5 100644 (file)
@@ -70,8 +70,8 @@ void compute_processor(struct s_my_menu *menu, struct s_hardware *hardware)
     add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0);
     menu->items_count++;
 
-    snprintf(buffer, sizeof buffer, "Cores     : %d", hardware->cpu.num_cores);
-    snprintf(statbuffer, sizeof statbuffer, "Number of cores: %d",
+    snprintf(buffer, sizeof buffer, "CPU Cores : %d", hardware->cpu.num_cores);
+    snprintf(statbuffer, sizeof statbuffer, "Number of CPU cores: %d",
             hardware->cpu.num_cores);
     add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0);
     menu->items_count++;