From 97490c9997698118b00b5ee32cecd9f1625c13c1 Mon Sep 17 00:00:00 2001 From: scw Date: Fri, 1 Dec 2000 00:02:22 +0000 Subject: [PATCH] Add __attribute__((__packed__)) to cpu_disklabel to get around the ELF padding/alignment constraints. --- sys/arch/mvme68k/include/disklabel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/mvme68k/include/disklabel.h b/sys/arch/mvme68k/include/disklabel.h index 6fa694396872..07b6ab322609 100644 --- a/sys/arch/mvme68k/include/disklabel.h +++ b/sys/arch/mvme68k/include/disklabel.h @@ -1,4 +1,4 @@ -/* $NetBSD: disklabel.h,v 1.5 1999/11/09 10:03:20 scw Exp $ */ +/* $NetBSD: disklabel.h,v 1.6 2000/12/01 00:02:22 scw Exp $ */ /* * Copyright (c) 1995 Dale Rahn. @@ -147,5 +147,5 @@ struct cpu_disklabel { u_short cfg_rsvc2; u_long magic2; u_char cfg_4[192]; -}; +} __attribute__((__packed__)); #endif _MACHINE_DISKLABEL_H_