]> sourceware.org Git - glibc.git/commitdiff
Fix a few more places.
authorUlrich Drepper <drepper@redhat.com>
Fri, 8 Dec 2000 17:34:49 +0000 (17:34 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 8 Dec 2000 17:34:49 +0000 (17:34 +0000)
elf/dl-version.c

index 1ae49587f415d0fb18d47c2a9eb0d711a2807983..fe54c7b00cd653261d39e5b1f7c63609cc1f8919 100644 (file)
@@ -115,7 +115,7 @@ no version information available (required by ",
          char buf[20];
          buf[sizeof (buf) - 1] = '\0';
          /* XXX We cannot translate the message.  */
-         _dl_signal_error (0, map->l_name,
+         _dl_signal_error (0, map->l_name[0] ? map->l_name : _dl_argv[0],
                            make_string ("unsupported version ",
                                         _itoa_word (def->vd_version,
                                                     &buf[sizeof (buf) - 1],
@@ -149,7 +149,7 @@ no version information available (required by ",
     {
       if (verbose)
        /* XXX We cannot translate the message.  */
-       _dl_signal_cerror (0, map->l_name,
+       _dl_signal_cerror (0, map->l_name[0] ? map->l_name : _dl_argv[0],
                           make_string ("weak version `", string,
                                        "' not found (required by ", name,
                                        ")"));
@@ -157,7 +157,7 @@ no version information available (required by ",
     }
 
   /* XXX We cannot translate the message.  */
-  _dl_signal_cerror (0, map->l_name,
+  _dl_signal_cerror (0, map->l_name[0] ? map->l_name : _dl_argv[0],
                     make_string ("version `", string,
                                  "' not found (required by ", name, ")"));
   return 1;
This page took 0.041241 seconds and 5 git commands to generate.