diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-12-08 17:34:49 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-12-08 17:34:49 +0000 |
commit | e9c9f3a1c2b1a98c2a4428d7a7b28c85bd883928 (patch) | |
tree | e3cff56106162f36900852e21812cef88e672999 /elf | |
parent | 104d0bd3ef1ea7a97ae7b3e4a8a63a08b92cfc1c (diff) | |
download | glibc-e9c9f3a1c2b1a98c2a4428d7a7b28c85bd883928.tar.gz glibc-e9c9f3a1c2b1a98c2a4428d7a7b28c85bd883928.tar.xz glibc-e9c9f3a1c2b1a98c2a4428d7a7b28c85bd883928.zip |
Fix a few more places.
Diffstat (limited to 'elf')
-rw-r--r-- | elf/dl-version.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/elf/dl-version.c b/elf/dl-version.c index 1ae49587f4..fe54c7b00c 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; |