aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/check-textrel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/check-textrel.c b/elf/check-textrel.c
index a39174d..2b9639f 100644
--- a/elf/check-textrel.c
+++ b/elf/check-textrel.c
@@ -87,7 +87,7 @@ AB(handle_file) (const char *fname, int fd)
&& (SWAP (phdr[cnt].p_flags) & (PF_X | PF_W)) == (PF_X | PF_W))
{
printf ("%s: segment %zu is executable and writable\n",
- fname);
+ fname, cnt);
return 1;
}