about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-01-12 00:25:13 +0000
committerUlrich Drepper <drepper@redhat.com>2006-01-12 00:25:13 +0000
commit37169cccddb401c9efeac446703dff7f815b5d1d (patch)
tree5f52927d2aacb6d7196a53520c661716d2608be6
parentd9266ea02f482e39904260d5add5d68c4508de38 (diff)
downloadglibc-37169cccddb401c9efeac446703dff7f815b5d1d.tar.gz
glibc-37169cccddb401c9efeac446703dff7f815b5d1d.tar.xz
glibc-37169cccddb401c9efeac446703dff7f815b5d1d.zip
* elf/check-textrel.c: Add missing argument.
-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 e24117bd32..aca264267e 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 a39174dc3a..2b9639ff19 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;
       }