[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 02/13] elfload: fix coding style nit
From: |
Michael S. Tsirkin |
Subject: |
[Qemu-devel] [PATCH 02/13] elfload: fix coding style nit |
Date: |
Wed, 30 Sep 2009 19:43:38 +0200 |
User-agent: |
Mutt/1.5.19 (2009-01-05) |
Put space between = and * when dereferencing a pointer,
to avoid confusion with old-style "*="
Signed-off-by: Michael S. Tsirkin <address@hidden>
---
bsd-user/elfload.c | 2 +-
linux-user/elfload.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bsd-user/elfload.c b/bsd-user/elfload.c
index 19981f0..33ddcc4 100644
--- a/bsd-user/elfload.c
+++ b/bsd-user/elfload.c
@@ -1268,7 +1268,7 @@ int load_elf_binary(struct linux_binprm * bprm, struct
target_pt_regs * regs,
}
if (retval >= 0) {
interp_ex = *((struct exec *) bprm->buf); /* aout exec-header
*/
- interp_elf_ex=*((struct elfhdr *) bprm->buf); /* elf
exec-header */
+ interp_elf_ex = *((struct elfhdr *) bprm->buf); /* elf
exec-header */
}
if (retval < 0) {
perror("load_elf_binary3");
diff --git a/linux-user/elfload.c b/linux-user/elfload.c
index 7c8e771..07277a6 100644
--- a/linux-user/elfload.c
+++ b/linux-user/elfload.c
@@ -1476,7 +1476,7 @@ int load_elf_binary(struct linux_binprm * bprm, struct
target_pt_regs * regs,
}
if (retval >= 0) {
interp_ex = *((struct exec *) bprm->buf); /* aout exec-header */
- interp_elf_ex=*((struct elfhdr *) bprm->buf); /* elf
exec-header */
+ interp_elf_ex = *((struct elfhdr *) bprm->buf); /* elf
exec-header */
}
if (retval < 0) {
perror("load_elf_binary3");
--
1.6.5.rc2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH 02/13] elfload: fix coding style nit,
Michael S. Tsirkin <=