mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 06:43:53 -06:00
bsd-user: style nits: bsdload.c whitespace to qemu standard
Signed-off-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
b211b3681a
commit
a8998784ae
1 changed files with 2 additions and 2 deletions
|
@ -140,7 +140,7 @@ abi_ulong loader_build_argptr(int envc, int argc, abi_ulong sp,
|
||||||
}
|
}
|
||||||
|
|
||||||
int loader_exec(const char *filename, char **argv, char **envp,
|
int loader_exec(const char *filename, char **argv, char **envp,
|
||||||
struct target_pt_regs *regs, struct image_info *infop)
|
struct target_pt_regs *regs, struct image_info *infop)
|
||||||
{
|
{
|
||||||
struct bsd_binprm bprm;
|
struct bsd_binprm bprm;
|
||||||
int retval;
|
int retval;
|
||||||
|
@ -148,7 +148,7 @@ int loader_exec(const char *filename, char **argv, char **envp,
|
||||||
|
|
||||||
bprm.p = TARGET_PAGE_SIZE * MAX_ARG_PAGES - sizeof(unsigned int);
|
bprm.p = TARGET_PAGE_SIZE * MAX_ARG_PAGES - sizeof(unsigned int);
|
||||||
for (i = 0 ; i < MAX_ARG_PAGES ; i++) { /* clear page-table */
|
for (i = 0 ; i < MAX_ARG_PAGES ; i++) { /* clear page-table */
|
||||||
bprm.page[i] = NULL;
|
bprm.page[i] = NULL;
|
||||||
}
|
}
|
||||||
retval = open(filename, O_RDONLY);
|
retval = open(filename, O_RDONLY);
|
||||||
if (retval < 0) {
|
if (retval < 0) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue