summaryrefslogtreecommitdiff
path: root/elf/dl-error.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-error.c')
-rw-r--r--elf/dl-error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-error.c b/elf/dl-error.c
index 5e76d7d7d8..3cfe48f5c6 100644
--- a/elf/dl-error.c
+++ b/elf/dl-error.c
@@ -80,7 +80,7 @@ _dl_signal_error (int errcode,
char buffer[1024];
_dl_sysdep_fatal (_dl_argv[0] ?: "<program name unknown>",
": error in loading shared libraries: ",
- objname ?: "", objname ? ": " : "",
+ objname ?: "", objname && *objname ? ": " : "",
errstring, errcode ? ": " : "",
(errcode
? _strerror_internal (errcode, buffer, sizeof buffer)