summaryrefslogtreecommitdiff
path: root/src/unexelf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unexelf.c')
-rw-r--r--src/unexelf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unexelf.c b/src/unexelf.c
index 2ac6bbdc06e..0de69a4cabc 100644
--- a/src/unexelf.c
+++ b/src/unexelf.c
@@ -610,7 +610,7 @@ round_up (ElfW(Addr) x, ElfW(Addr) y)
if NOERROR is 0; we return -1 if NOERROR is nonzero. */
static int
-find_section (char *name, char *section_names, char *file_name,
+find_section (const char *name, char *section_names, char *file_name,
ElfW(Ehdr) *old_file_h, ElfW(Shdr) *old_section_h, int noerror)
{
int idx;