aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--elf/check-textrel.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e24117b..aca2642 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2006-01-11 Ulrich Drepper <drepper@redhat.com>
+ * elf/check-textrel.c: Add missing argument.
+
* Makerules: Define build-module-asneeded.
* iconvdata/extra-module.mk: Use build-module-asneeded.
needed.
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;
}