summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-01-08 19:16:11 +0000
committerjhb <jhb@FreeBSD.org>2003-01-08 19:16:11 +0000
commitd635237b70c5601805bde1ca841cb31706e7f027 (patch)
tree7130041c1d3c16fac67fa8f8f5b8936a7bcf2f13 /sys/i386
parentea009b7b71582357d8e94e6a006f24451bd4bbbb (diff)
downloadFreeBSD-src-d635237b70c5601805bde1ca841cb31706e7f027.zip
FreeBSD-src-d635237b70c5601805bde1ca841cb31706e7f027.tar.gz
Consistently use spaces in between arguments to strcmp(). Whitespace
only.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/identcpu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/i386/identcpu.c b/sys/i386/i386/identcpu.c
index 2d07a62..712a97c 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:
OpenPOWER on IntegriCloud