Add error message if ltelf_init fails to open ELF
diff --git a/ltrace-elf.c b/ltrace-elf.c
index 6f86d56..8997518 100644
--- a/ltrace-elf.c
+++ b/ltrace-elf.c
@@ -361,8 +361,11 @@
 {
 	memset(lte, 0, sizeof *lte);
 	lte->fd = open(filename, O_RDONLY);
-	if (lte->fd == -1)
+	if (lte->fd == -1) {
+		fprintf(stderr, "Can't open %s: %s\n", filename,
+			strerror(errno));
 		return 1;
+	}
 
 	elf_version(EV_CURRENT);