summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2007-11-15 03:39:50 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2007-11-15 03:39:50 +0000
commit4e3db8c7ef33a045666d38dd5bad19322e5a0622 (patch)
tree89c333ab469bf59c8889b321c6b5d122d6d92a25 /sys/arch/i386/include
parent8d3b7da0d8308360af956d2b6534b843755258ad (diff)
oops, processor structs need to be __packed.
prompted by deraadt
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r--sys/arch/i386/include/smbiosvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/include/smbiosvar.h b/sys/arch/i386/include/smbiosvar.h
index d179b8754d3..9334959298f 100644
--- a/sys/arch/i386/include/smbiosvar.h
+++ b/sys/arch/i386/include/smbiosvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smbiosvar.h,v 1.4 2007/11/15 03:34:46 marco Exp $ */
+/* $OpenBSD: smbiosvar.h,v 1.5 2007/11/15 03:39:49 marco Exp $ */
/*
* Copyright (c) 2006 Gordon Willem Klok <gklok@cogeco.ca>
* Copyright (c) 2005 Jordan Hargrave
@@ -205,7 +205,7 @@ struct smbios_cpu {
u_int8_t cpu_core_enabled;
u_int8_t cpu_thread_count;
u_int16_t cpu_characteristics;
-};
+} __packed;
/*
* SMBIOS Structure Type 38 "IPMI Information"