MFC 257233: Use size of the MACHINE_ARCH string instead of sizeof(uint32_t).

This commit is contained in:
ian 2014-05-18 16:43:47 +00:00
parent 37b56a8b54
commit de1f6cfd90

View File

@ -123,7 +123,7 @@ static const struct {
char desc[sizeof(MACHINE_ARCH)];
} archtag __attribute__ ((section (NOTE_SECTION), aligned(4))) __used = {
.namesz = sizeof(NOTE_FREEBSD_VENDOR),
.descsz = sizeof(int32_t),
.descsz = sizeof(MACHINE_ARCH),
.type = ARCH_NOTETYPE,
.name = NOTE_FREEBSD_VENDOR,
.desc = MACHINE_ARCH