summaryrefslogtreecommitdiff
path: root/stand/mips/beri
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2018-01-08 18:46:10 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2018-01-08 18:46:10 +0000
commit9bd8ae10e38ce594b02bbe26cba0b86a09195408 (patch)
treeadce59cfb7cf30c8650543cc16d1804833f04555 /stand/mips/beri
parent94335944178dc8d876d52f6a9c0e67ec04e97da4 (diff)
downloadsrc-test2-9bd8ae10e38ce594b02bbe26cba0b86a09195408.tar.gz
src-test2-9bd8ae10e38ce594b02bbe26cba0b86a09195408.zip
Notes
Diffstat (limited to 'stand/mips/beri')
-rw-r--r--stand/mips/beri/loader/exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stand/mips/beri/loader/exec.c b/stand/mips/beri/loader/exec.c
index 68e149d5cb01..3c1b7a6a3cee 100644
--- a/stand/mips/beri/loader/exec.c
+++ b/stand/mips/beri/loader/exec.c
@@ -80,14 +80,14 @@ beri_elf64_exec(struct preloaded_file *fp)
md = file_findmetadata(fp, MODINFOMD_ELFHDR);
if (md == NULL) {
- printf("%s: file_findmetadata failed\n");
+ printf("%s: file_findmetadata failed\n", fp->f_name);
return (EFTYPE);
}
ehdr = (Elf_Ehdr *)md->md_data;
error = md_load64(fp->f_args, &mdp);
if (error) {
- printf("%s: md_load64 failed\n");
+ printf("%s: md_load64 failed\n", fp->f_name);
return (error);
}