summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2017-03-03 12:09:32 -0800
committerMike Frysinger <vapier@gentoo.org>2018-06-07 00:41:30 -0400
commitdf28fc345a31b9c329b95b1cb4666c49ad37d8d2 (patch)
tree6eed1f949051274dd9f650dcde46ac80e8541bd5
parentscanelf.c: fix TEXTREL parsing for files with non-zero load address (diff)
downloadpax-utils-df28fc345a31b9c329b95b1cb4666c49ad37d8d2.tar.gz
pax-utils-df28fc345a31b9c329b95b1cb4666c49ad37d8d2.tar.bz2
pax-utils-df28fc345a31b9c329b95b1cb4666c49ad37d8d2.zip
scanelf: constify rpath_security_checks
-rw-r--r--scanelf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scanelf.c b/scanelf.c
index 530edfb..16f712f 100644
--- a/scanelf.c
+++ b/scanelf.c
@@ -761,7 +761,7 @@ static char *scanelf_file_textrels(elfobj *elf, char *found_textrels, char *foun
return NULL;
}
-static void rpath_security_checks(elfobj *elf, char *item, const char *dt_type)
+static void rpath_security_checks(elfobj *elf, const char *item, const char *dt_type)
{
struct stat st;
switch (*item) {