]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(dl_main): Call _dl_catch_error correctly.
authorUlrich Drepper <drepper@redhat.com>
Thu, 12 Mar 1998 14:30:58 +0000 (14:30 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 12 Mar 1998 14:30:58 +0000 (14:30 +0000)
elf/rtld.c

index d533a3912cb45f879114ef6c6fcde81c65b9535e..f7b76ada8d471b3e5e98cd90f0c8fff88d4626ee 100644 (file)
@@ -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);