[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 05/43] bsd-user: style nits: bsdload.c whitespace to qemu stan
From: |
imp |
Subject: |
[PATCH v3 05/43] bsd-user: style nits: bsdload.c whitespace to qemu standard |
Date: |
Thu, 2 Sep 2021 17:46:51 -0600 |
From: Warner Losh <imp@bsdimp.com>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
---
bsd-user/bsdload.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bsd-user/bsdload.c b/bsd-user/bsdload.c
index 0ade58b9e2..ec71c5e923 100644
--- a/bsd-user/bsdload.c
+++ b/bsd-user/bsdload.c
@@ -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,
- struct target_pt_regs *regs, struct image_info *infop)
+ struct target_pt_regs *regs, struct image_info *infop)
{
struct bsd_binprm bprm;
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);
for (i = 0 ; i < MAX_ARG_PAGES ; i++) { /* clear page-table */
- bprm.page[i] = NULL;
+ bprm.page[i] = NULL;
}
retval = open(filename, O_RDONLY);
if (retval < 0) {
--
2.32.0
- [PATCH v3 00/43] bsd-user updates to run hello world, imp, 2021/09/02
- [PATCH v3 02/43] bsd-user: add copyright header to elfload.c, imp, 2021/09/02
- [PATCH v3 03/43] bsd-user: Add Stacey's copyright to main.c, imp, 2021/09/02
- [PATCH v3 07/43] bsd-user: move arch specific defines out of elfload.c, imp, 2021/09/02
- [PATCH v3 04/43] bsd-user: add license to bsdload.c, imp, 2021/09/02
- [PATCH v3 08/43] bsd-user: pass the bsd_param into loader_exec, imp, 2021/09/02
- [PATCH v3 14/43] bsd-user: elfload: simplify bswap a bit., imp, 2021/09/02
- [PATCH v3 01/43] bsd-user: remove sparc and sparc64, imp, 2021/09/02
- [PATCH v3 05/43] bsd-user: style nits: bsdload.c whitespace to qemu standard,
imp <=
- [PATCH v3 06/43] bsd-user: Remove all non-x86 code from elfload.c, imp, 2021/09/02
- [PATCH v3 09/43] bsd-user: Fix calculation of size to allocate, imp, 2021/09/02
- [PATCH v3 10/43] bsd-user: implement path searching, imp, 2021/09/02
- [PATCH v3 11/43] bsd-user: Eliminate elf personality, imp, 2021/09/02
- [PATCH v3 12/43] bsd-user: remove a.out support, imp, 2021/09/02
- [PATCH v3 13/43] bsd-user: TARGET_NGROUPS unused in this file, remove, imp, 2021/09/02
- [PATCH v3 16/43] bsd-user: add host-os.h, imp, 2021/09/02
- [PATCH v3 25/43] bsd-user: Add system independent stack, data and text limiting, imp, 2021/09/02
- [PATCH v3 18/43] bsd-user: save the path to the qemu emulator, imp, 2021/09/02