summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/elfutils/elfutils/elfutils-ar-c-fix-num-passed-to-memset.patch
Commit message (Collapse)AuthorAgeFilesLines
* elfutils: fix the num passed to memset in ar.cZhenhua Luo2013-03-161-0/+23
Following build error will appear on Fedora18+: ar.c: In function 'do_oper_delete': ar.c:918:31: error: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess] memset (found, '\0', sizeof (found)); (From OE-Core rev: 5cc3b4fe09cfa2b3e67568a9c2494c198a5292af) Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OpenPOWER on IntegriCloud