aboutsummaryrefslogtreecommitdiff
path: root/elf/dl-version.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-12-08 17:34:49 +0000
committerUlrich Drepper <drepper@redhat.com>2000-12-08 17:34:49 +0000
commite9c9f3a1c2b1a98c2a4428d7a7b28c85bd883928 (patch)
treee3cff56106162f36900852e21812cef88e672999 /elf/dl-version.c
parent104d0bd3ef1ea7a97ae7b3e4a8a63a08b92cfc1c (diff)
downloadglibc-e9c9f3a1c2b1a98c2a4428d7a7b28c85bd883928.zip
glibc-e9c9f3a1c2b1a98c2a4428d7a7b28c85bd883928.tar.gz
glibc-e9c9f3a1c2b1a98c2a4428d7a7b28c85bd883928.tar.bz2
Fix a few more places.
Diffstat (limited to 'elf/dl-version.c')
-rw-r--r--elf/dl-version.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/elf/dl-version.c b/elf/dl-version.c
index 1ae4958..fe54c7b 100644
--- a/elf/dl-version.c
+++ b/elf/dl-version.c
@@ -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;