(match_symbol): Check map->l_name[0] for printing.
authordrepper <drepper>
Fri, 8 Dec 2000 17:09:24 +0000 (17:09 +0000)
committerdrepper <drepper>
Fri, 8 Dec 2000 17:09:24 +0000 (17:09 +0000)
elf/dl-version.c

index bb0fc71..1ae4958 100644 (file)
@@ -95,7 +95,7 @@ match_symbol (const char *name, ElfW(Word) hash, const char *string,
         only print a message if verbose output is requested.  */
       if (verbose)
        /* XXX We cannot translate the messages.  */
-       _dl_signal_cerror (0, map->l_name,
+       _dl_signal_cerror (0, map->l_name[0] ? map->l_name : _dl_argv[0],
                           make_string ("\
 no version information available (required by ",
                                        name, ")"));