diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-10-20 23:47:44 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-10-20 23:47:44 +0000 |
commit | 35e93d666997c4a80c78d8a0545cefbaf5456d3c (patch) | |
tree | 2b7e91bd5ca551cb5c1d979862f0fa7a69e2eed8 /sys/arch/amd64/include | |
parent | 8319e7ff3af89818c80d8c1ece069a0d01e1a25c (diff) |
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@"
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r-- | sys/arch/amd64/include/disklabel.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/amd64/include/disklabel.h b/sys/arch/amd64/include/disklabel.h index 335cfe4feb4..0851f8a57b9 100644 --- a/sys/arch/amd64/include/disklabel.h +++ b/sys/arch/amd64/include/disklabel.h @@ -1,4 +1,4 @@ -/* $OpenBSD: disklabel.h,v 1.7 2006/10/18 20:09:38 deraadt Exp $ */ +/* $OpenBSD: disklabel.h,v 1.8 2006/10/20 23:47:42 krw Exp $ */ /* $NetBSD: disklabel.h,v 1.3 1996/03/09 20:52:54 ghudson Exp $ */ /* @@ -85,7 +85,6 @@ struct dos_mbr { #define DOSMBR_SIGNATURE_OFF (0x1fe) struct cpu_disklabel { - struct dos_partition dosparts[NDOSPART]; }; /* Isolate the relevant bits to get sector and cylinder. */ |