aboutsummaryrefslogtreecommitdiff
path: root/bsd-user/bsdload.c
diff options
context:
space:
mode:
authorWarner Losh <imp@bsdimp.com>2021-04-29 10:04:28 -0600
committerWarner Losh <imp@bsdimp.com>2021-05-11 13:53:52 -0600
commitafcbcff80bf81a3399e24c7908b17776e1489df9 (patch)
tree334474e4d20f15bdcf19fd506579477473d16baa /bsd-user/bsdload.c
parentf8ce39701b5be032fb3f9c05e8adb4055f70eec2 (diff)
downloadqemu-afcbcff80bf81a3399e24c7908b17776e1489df9.zip
qemu-afcbcff80bf81a3399e24c7908b17776e1489df9.tar.gz
qemu-afcbcff80bf81a3399e24c7908b17776e1489df9.tar.bz2
bsd-user: rename linux_binprm to bsd_binprm
Rename linux_binprm to bsd_binprm to reflect that we're loading BSD binaries, not ELF ones. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Warner Losh <imp@bsdimp.com>
Diffstat (limited to 'bsd-user/bsdload.c')
-rw-r--r--bsd-user/bsdload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsd-user/bsdload.c b/bsd-user/bsdload.c
index e1ed3b7..8d83f21 100644
--- a/bsd-user/bsdload.c
+++ b/bsd-user/bsdload.c
@@ -32,7 +32,7 @@ static int count(char **vec)
return i;
}
-static int prepare_binprm(struct linux_binprm *bprm)
+static int prepare_binprm(struct bsd_binprm *bprm)
{
struct stat st;
int mode;
@@ -127,7 +127,7 @@ abi_ulong loader_build_argptr(int envc, int argc, abi_ulong sp,
int loader_exec(const char *filename, char **argv, char **envp,
struct target_pt_regs *regs, struct image_info *infop)
{
- struct linux_binprm bprm;
+ struct bsd_binprm bprm;
int retval;
int i;