From e9c9f3a1c2b1a98c2a4428d7a7b28c85bd883928 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 8 Dec 2000 17:34:49 +0000 Subject: Fix a few more places. --- elf/dl-version.c | 6 +++--- 1 file 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; -- cgit v1.1