about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-03-12 14:30:58 +0000
committerUlrich Drepper <drepper@redhat.com>1998-03-12 14:30:58 +0000
commitbf3ced8f8cf90bbe1d9fbba8ab429e05a9dc4391 (patch)
tree77c0b64ce33ba35af8439df1aa4430be19e74cc3 /elf
parent14ec2ef16d816150f1a06c00a91e4f146b049172 (diff)
downloadglibc-bf3ced8f8cf90bbe1d9fbba8ab429e05a9dc4391.tar.gz
glibc-bf3ced8f8cf90bbe1d9fbba8ab429e05a9dc4391.tar.xz
glibc-bf3ced8f8cf90bbe1d9fbba8ab429e05a9dc4391.zip
(dl_main): Call _dl_catch_error correctly.
Diffstat (limited to 'elf')
-rw-r--r--elf/rtld.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/elf/rtld.c b/elf/rtld.c
index d533a3912c..f7b76ada8d 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -258,9 +258,8 @@ of this helper program; chances are you did not intend to run this program.\n",
 	      l = _dl_map_object (NULL, _dl_argv[0], 0, lt_library, 0);
 	    }
 	  char *err_str = NULL;
-	  const char *obj_name __attribute__ ((unused));
 
-	  (void) _dl_catch_error (&err_str, &obj_name, doit);
+	  (void) _dl_catch_error (&err_str, doit);
 	  if (err_str != NULL)
 	    {
 	      free (err_str);