From 5343f544c174352acf5f03edac067d27fdbdcd8a Mon Sep 17 00:00:00 2001 From: Veselin Georgiev Date: Tue, 18 Nov 2008 13:15:25 +0000 Subject: [PATCH] Fixed a copy-paste bug git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@12 3b4be424-7ac5-41d7-8526-f4ddcb85d872 --- cpuid_tool/cpuid_tool.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cpuid_tool/cpuid_tool.c b/cpuid_tool/cpuid_tool.c index 238eabb..c9d5b5d 100644 --- a/cpuid_tool/cpuid_tool.c +++ b/cpuid_tool/cpuid_tool.c @@ -33,13 +33,13 @@ int main(void) printf(" L1D assoc. : %d-way\n", data.l1_assoc); printf(" L2 assoc. : %d-way\n", data.l2_assoc); printf(" L3 assoc. : %d-way\n", data.l3_assoc); - printf(" L1D line sz: %d-way\n", data.l1_cacheline); - printf(" L2 line sz : %d-way\n", data.l2_cacheline); - printf(" L3 line sz : %d-way\n", data.l3_cacheline); + printf(" L1D line sz: %d bytes\n", data.l1_cacheline); + printf(" L2 line sz : %d bytes\n", data.l2_cacheline); + printf(" L3 line sz : %d bytes\n", data.l3_cacheline); printf(" code name : `%s'\n", data.cpu_codename); printf(" features :"); int i; - for (i = 0; i < CPU_NUM_FEATURES; i++) + for (i = 0; i < NUM_CPU_FEATURES; i++) if (data.flags[i]) printf(" %s", cpu_feature_str(i)); printf("\n");