diff options
author | ian <ian@FreeBSD.org> | 2014-05-18 16:43:47 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2014-05-18 16:43:47 +0000 |
commit | de1f6cfd9077bc92ca5aaab07e0f76923bfae57b (patch) | |
tree | 1c85ccda28b5b12c9752eda17aab4f87d5d500cf /lib/csu | |
parent | 37b56a8b54d26c664537e07a751efb2859aa4348 (diff) | |
download | FreeBSD-src-de1f6cfd9077bc92ca5aaab07e0f76923bfae57b.zip FreeBSD-src-de1f6cfd9077bc92ca5aaab07e0f76923bfae57b.tar.gz |
MFC 257233: Use size of the MACHINE_ARCH string instead of sizeof(uint32_t).
Diffstat (limited to 'lib/csu')
-rw-r--r-- | lib/csu/arm/crt1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csu/arm/crt1.c b/lib/csu/arm/crt1.c index d9f8a2d..d2fbab3 100644 --- a/lib/csu/arm/crt1.c +++ b/lib/csu/arm/crt1.c @@ -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 |