NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/39897: sizeof(struct gpt_hdr);

On Tue, Nov 11, 2008 at 07:00:01PM +0000, wrote:
> >Synopsis:       sizeof(struct gpt_hdr); is "wrong" on amd64

> Perhaps add a '__packed' attribute to the GPT structures.

There is a typedef for a 64bit int with 32bit alignment somewhere.
That is better than applying packed to the entire structure.


David Laight:

Home | Main Index | Thread Index | Old Index