diff options
author | Zhenhua Luo <zhenhua.luo@freescale.com> | 2013-03-12 11:58:58 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-15 01:52:54 +0000 |
commit | 61010972284cc53cfc7958a9f6422e3fe74fcc0e (patch) | |
tree | c07fc9f3b1bfe96f178d4470ab4fb819528bda34 /meta/recipes-devtools/intltool | |
parent | 5445e12e5a32cc5c51ce8a29f2800692ed831115 (diff) | |
download | openembedded-core-61010972284cc53cfc7958a9f6422e3fe74fcc0e.tar.gz openembedded-core-61010972284cc53cfc7958a9f6422e3fe74fcc0e.tar.bz2 openembedded-core-61010972284cc53cfc7958a9f6422e3fe74fcc0e.zip |
elfutils: Fix size passed to snprintf for invalid sh_name case
Following build error will appear on Fedora18.
nm.c: In function 'show_symbols_sysv':
nm.c:756:27: error: argument to 'sizeof' in 'snprintf' call is the same expression as the destination; did you mean to provide an explicit length? [-Werror=sizeof-pointer-memaccess]
snprintf (name, sizeof name, "[invalid sh_name %#" PRIx32 "]",
^
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/intltool')
0 files changed, 0 insertions, 0 deletions