From 35e93d666997c4a80c78d8a0545cefbaf5456d3c Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Fri, 20 Oct 2006 23:47:44 +0000 Subject: Try again with local variable to avoid alignment issues. "The dosparts member of cpu_disklabel was not used for any persistant data. Eliminate it, and just use the data being read in while processing MBR and EBR records. Should be no functional change. ok weingart@ deraadt@" --- sys/arch/aviion/include/disklabel.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/arch/aviion/include/disklabel.h') diff --git a/sys/arch/aviion/include/disklabel.h b/sys/arch/aviion/include/disklabel.h index 6a8f0db2bd2..6ebfd898405 100644 --- a/sys/arch/aviion/include/disklabel.h +++ b/sys/arch/aviion/include/disklabel.h @@ -1,4 +1,4 @@ -/* $OpenBSD: disklabel.h,v 1.6 2006/10/18 20:09:38 deraadt Exp $ */ +/* $OpenBSD: disklabel.h,v 1.7 2006/10/20 23:47:42 krw Exp $ */ /* $NetBSD: disklabel.h,v 1.2 2001/11/25 19:02:03 thorpej Exp $ */ /* @@ -96,7 +96,6 @@ struct dos_partition { #define DPCYL(c, s) ((c) + (((s) & 0xc0) << 2)) struct cpu_disklabel { - struct dos_partition dosparts[NDOSPART]; }; #endif /* _AVIION_DISKLABEL_H_ */ -- cgit v1.2.3