diff options
Diffstat (limited to 'src/cmd/ld/ldelf.c')
-rw-r--r-- | src/cmd/ld/ldelf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/ld/ldelf.c b/src/cmd/ld/ldelf.c index 8334e988e..924687867 100644 --- a/src/cmd/ld/ldelf.c +++ b/src/cmd/ld/ldelf.c @@ -398,13 +398,13 @@ ldelf(Biobuf *f, char *pkg, int64 len, char *pn) goto bad; if(e->e16(hdr->type) != ElfTypeRelocatable) { - diag("%s: elf but not elf relocatable object"); + diag("%s: elf but not elf relocatable object", pn); return; } switch(thechar) { default: - diag("%s: elf %s unimplemented", thestring); + diag("%s: elf %s unimplemented", pn, thestring); return; case '5': if(e != &le || obj->machine != ElfMachArm || hdr->ident[4] != ElfClass32) { |