about summary refs log tree commit diff
path: root/src/ldso
diff options
context:
space:
mode:
Diffstat (limited to 'src/ldso')
-rw-r--r--src/ldso/dynlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldso/dynlink.c b/src/ldso/dynlink.c
index 7058bf61..3622329c 100644
--- a/src/ldso/dynlink.c
+++ b/src/ldso/dynlink.c
@@ -781,7 +781,7 @@ static void reloc_all(struct dso *p)
 		if (p->relro_start != p->relro_end &&
 		    mprotect(p->base+p->relro_start, p->relro_end-p->relro_start, PROT_READ) < 0) {
 			snprintf(errbuf, sizeof errbuf,
-				"Error relocating %s: RELRO protection failed",
+				"Error relocating %s: RELRO protection failed: %m",
 				p->name);
 			if (runtime) longjmp(*rtld_fail, 1);
 			dprintf(2, "%s\n", errbuf);