summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2012-09-07 22:02:35 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2012-09-07 22:02:35 +0000
commit0cc08fbe6c2d8094923a6d3146fc0aaf679f877d (patch)
treef131c2245451e49436fca2e202cf1371de2483e1 /sys
parent45f897cc4344c77da53f05c8bea2eff1a02ea282 (diff)
bump CPU feature strings to 12 chars since some names are now 8 characters
long, leaving no space for a trailing NUL; ok kettenis@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amd64/amd64/identcpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/identcpu.c b/sys/arch/amd64/amd64/identcpu.c
index bb682d7a28b..84806873a76 100644
--- a/sys/arch/amd64/amd64/identcpu.c
+++ b/sys/arch/amd64/amd64/identcpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: identcpu.c,v 1.37 2012/08/24 02:49:23 guenther Exp $ */
+/* $OpenBSD: identcpu.c,v 1.38 2012/09/07 22:02:34 naddy Exp $ */
/* $NetBSD: identcpu.c,v 1.1 2003/04/26 18:39:28 fvdl Exp $ */
/*
@@ -55,7 +55,7 @@ int amd64_has_aesni;
const struct {
u_int32_t bit;
- char str[8];
+ char str[12];
} cpu_cpuid_features[] = {
{ CPUID_FPU, "FPU" },
{ CPUID_VME, "VME" },