diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2014-12-10 14:03:28 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2014-12-10 14:03:28 +1100 |
commit | 378495dcc88b4d5c4ae1210f3c72c037a42187d8 (patch) | |
tree | ad01800a6bbeb09b2f0bb7e231988ba1425709b3 /README | |
parent | 360499c4fd62d05ef6902cc98a92c177e6b468c8 (diff) | |
download | skiboot-378495dcc88b4d5c4ae1210f3c72c037a42187d8.zip skiboot-378495dcc88b4d5c4ae1210f3c72c037a42187d8.tar.gz skiboot-378495dcc88b4d5c4ae1210f3c72c037a42187d8.tar.bz2 |
Fix bug/warning in hdata/memory.c I introduced in f1a3a19
Passing the wrong parameter to snprintf (sizeof(char*)) rather
than actual length of the string. GCC 4.9 told us about it (and broke
make check when I enabled -Werror)
hdata/test/../memory.c: In function ‘add_address_range’:
hdata/test/../memory.c:144:23: 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]
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions