[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 05/42] bsd-user: style nits: bsdload.c whitespace to qemu standard
From: |
imp |
Subject: |
[PULL 05/42] bsd-user: style nits: bsdload.c whitespace to qemu standard |
Date: |
Tue, 7 Sep 2021 15:52:55 -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
- [PULL 00/42] bsd-user updates to run hello world, imp, 2021/09/07
- [PULL 05/42] bsd-user: style nits: bsdload.c whitespace to qemu standard,
imp <=
- [PULL 02/42] bsd-user: add copyright header to elfload.c, imp, 2021/09/07
- [PULL 04/42] bsd-user: add license to bsdload.c, imp, 2021/09/07
- [PULL 01/42] bsd-user: remove sparc and sparc64, imp, 2021/09/07
- [PULL 06/42] bsd-user: Remove all non-x86 code from elfload.c, imp, 2021/09/07
- [PULL 03/42] bsd-user: Add Stacey's copyright to main.c, imp, 2021/09/07
- [PULL 08/42] bsd-user: pass the bsd_param into loader_exec, imp, 2021/09/07
- [PULL 13/42] bsd-user: TARGET_NGROUPS unused in this file, remove, imp, 2021/09/07
- [PULL 07/42] bsd-user: move arch specific defines out of elfload.c, imp, 2021/09/07
- [PULL 09/42] bsd-user: Fix calculation of size to allocate, imp, 2021/09/07
- [PULL 12/42] bsd-user: remove a.out support, imp, 2021/09/07