Author: ian Date: Sun May 18 16:43:47 2014 New Revision: 266410 URL: http://svnweb.freebsd.org/changeset/base/266410
Log: MFC 257233: Use size of the MACHINE_ARCH string instead of sizeof(uint32_t). Modified: stable/10/lib/csu/arm/crt1.c Directory Properties: stable/10/ (props changed) Modified: stable/10/lib/csu/arm/crt1.c ============================================================================== --- stable/10/lib/csu/arm/crt1.c Sun May 18 16:39:47 2014 (r266409) +++ stable/10/lib/csu/arm/crt1.c Sun May 18 16:43:47 2014 (r266410) @@ -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 _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"