aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorSean Bruno <sbruno@FreeBSD.org>2013-10-31 18:53:13 +0000
committerSean Bruno <sbruno@FreeBSD.org>2013-10-31 18:53:13 +0000
commit9113c7c613b193c66be8976db8fdd912a8c55b42 (patch)
treeaf99c0d9bc97d945e89a60b90f69d8d40425f257 /contrib
parentce086c793bb391e276abc9769901a939577fbd39 (diff)
downloadsrc-9113c7c613b193c66be8976db8fdd912a8c55b42.tar.gz
src-9113c7c613b193c66be8976db8fdd912a8c55b42.zip
Queisce warning about attempting to add char * together and use explicit
array indexing to indicate what is meant to be done
Notes
Notes: svn path=/head/; revision=257463
Diffstat (limited to 'contrib')
-rw-r--r--contrib/binutils/binutils/readelf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/binutils/binutils/readelf.c b/contrib/binutils/binutils/readelf.c
index d2e2aefca383..aafd8d4502e9 100644
--- a/contrib/binutils/binutils/readelf.c
+++ b/contrib/binutils/binutils/readelf.c
@@ -7118,7 +7118,7 @@ process_symbol_table (FILE *file)
n = print_vma (si, DEC_5);
if (n < 5)
- fputs (" " + n, stdout);
+ fputs (&" "[n], stdout);
printf (" %3lu: ", hn);
print_vma (psym->st_value, LONG_HEX);
putchar (' ');