about summary refs log tree commit diff
path: root/elf/dl-version.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-version.c')
-rw-r--r--elf/dl-version.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-version.c b/elf/dl-version.c
index bb0fc71e9d..1ae49587f4 100644
--- a/elf/dl-version.c
+++ b/elf/dl-version.c
@@ -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, ")"));