summaryrefslogtreecommitdiff
path: root/bsd-user/bsdload.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsd-user/bsdload.c')
-rw-r--r--bsd-user/bsdload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-user/bsdload.c b/bsd-user/bsdload.c
index 2abc7136e0..6b52e08720 100644
--- a/bsd-user/bsdload.c
+++ b/bsd-user/bsdload.c
@@ -183,7 +183,7 @@ int loader_exec(const char * filename, char ** argv, char ** envp,
&& bprm.buf[3] == 'F') {
retval = load_elf_binary(&bprm,regs,infop);
} else {
- fprintf(stderr, "Unknown binary format\n");
+ error_report("Unknown binary format");
return -1;
}
}