From da3946e043519e8e329bee8154279f0873716491 Mon Sep 17 00:00:00 2001 From: Erwan Velu Date: Fri, 27 Nov 2009 20:41:16 +0100 Subject: [PATCH] hdt: Fixing cpu cores naming Impact: Visual Fixing cpu cores naming --- com32/hdt/hdt-cli-cpu.c | 4 ++-- com32/hdt/hdt-menu-processor.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/com32/hdt/hdt-cli-cpu.c b/com32/hdt/hdt-cli-cpu.c index 61b733d..1b080a2 100644 --- a/com32/hdt/hdt-cli-cpu.c +++ b/com32/hdt/hdt-cli-cpu.c @@ -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); diff --git a/com32/hdt/hdt-menu-processor.c b/com32/hdt/hdt-menu-processor.c index 4f7ac80..53b04b5 100644 --- a/com32/hdt/hdt-menu-processor.c +++ b/com32/hdt/hdt-menu-processor.c @@ -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++; -- 2.7.4