From 338633abf8ec34cbdadfe97e77893118a5f51ede Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Wed, 8 Jan 2003 19:16:11 +0000 Subject: [PATCH] Consistently use spaces in between arguments to strcmp(). Whitespace only. --- sys/amd64/amd64/identcpu.c | 6 +++--- sys/i386/i386/identcpu.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/amd64/amd64/identcpu.c b/sys/amd64/amd64/identcpu.c index 2d07a6263602..712a97cd6575 100644 --- a/sys/amd64/amd64/identcpu.c +++ b/sys/amd64/amd64/identcpu.c @@ -142,7 +142,7 @@ printcpuinfo(void) strncpy(cpu_model, i386_cpus[cpu].cpu_name, sizeof cpu_model); #if defined(I486_CPU) || defined(I586_CPU) || defined(I686_CPU) - if (strcmp(cpu_vendor,"GenuineIntel") == 0) { + if (strcmp(cpu_vendor, "GenuineIntel") == 0) { if ((cpu_id & 0xf00) > 0x300) { u_int brand_index; @@ -275,7 +275,7 @@ printcpuinfo(void) cpu_brandtable[brand_index]); } } - } else if (strcmp(cpu_vendor,"AuthenticAMD") == 0) { + } else if (strcmp(cpu_vendor, "AuthenticAMD") == 0) { /* * Values taken from AMD Processor Recognition * http://www.amd.com/K6/k6docs/pdf/20734g.pdf @@ -347,7 +347,7 @@ printcpuinfo(void) enable_K6_wt_alloc(); } #endif - } else if (strcmp(cpu_vendor,"CyrixInstead") == 0) { + } else if (strcmp(cpu_vendor, "CyrixInstead") == 0) { strcpy(cpu_model, "Cyrix "); switch (cpu_id & 0xff0) { case 0x440: diff --git a/sys/i386/i386/identcpu.c b/sys/i386/i386/identcpu.c index 2d07a6263602..712a97cd6575 100644 --- a/sys/i386/i386/identcpu.c +++ b/sys/i386/i386/identcpu.c @@ -142,7 +142,7 @@ printcpuinfo(void) strncpy(cpu_model, i386_cpus[cpu].cpu_name, sizeof cpu_model); #if defined(I486_CPU) || defined(I586_CPU) || defined(I686_CPU) - if (strcmp(cpu_vendor,"GenuineIntel") == 0) { + if (strcmp(cpu_vendor, "GenuineIntel") == 0) { if ((cpu_id & 0xf00) > 0x300) { u_int brand_index; @@ -275,7 +275,7 @@ printcpuinfo(void) cpu_brandtable[brand_index]); } } - } else if (strcmp(cpu_vendor,"AuthenticAMD") == 0) { + } else if (strcmp(cpu_vendor, "AuthenticAMD") == 0) { /* * Values taken from AMD Processor Recognition * http://www.amd.com/K6/k6docs/pdf/20734g.pdf @@ -347,7 +347,7 @@ printcpuinfo(void) enable_K6_wt_alloc(); } #endif - } else if (strcmp(cpu_vendor,"CyrixInstead") == 0) { + } else if (strcmp(cpu_vendor, "CyrixInstead") == 0) { strcpy(cpu_model, "Cyrix "); switch (cpu_id & 0xff0) { case 0x440: