summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaddy <naddy@openbsd.org>2012-09-07 22:02:34 +0000
committernaddy <naddy@openbsd.org>2012-09-07 22:02:34 +0000
commit62fe89c8e6e8ac91d843cc98d230eb4e92884199 (patch)
tree3db2b2aade7e6f2c414215c29309388cc0b046c3
parentCall pci_min_powerstate() to determine the lowest possible powerstate instead (diff)
downloadwireguard-openbsd-62fe89c8e6e8ac91d843cc98d230eb4e92884199.tar.xz
wireguard-openbsd-62fe89c8e6e8ac91d843cc98d230eb4e92884199.zip
bump CPU feature strings to 12 chars since some names are now 8 characters
long, leaving no space for a trailing NUL; ok kettenis@
-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" },