From: Michael S. Tsirkin Date: Wed, 30 Sep 2009 17:43:38 +0000 (+0200) Subject: elfload: fix coding style nit X-Git-Tag: TizenStudio_2.0_p2.3~7369 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d64186ac1eab9e0d98427745b072d51d0ebd4032;p=sdk%2Femulator%2Fqemu.git elfload: fix coding style nit Put space between = and * when dereferencing a pointer, to avoid confusion with old-style "*=" Signed-off-by: Michael S. Tsirkin Signed-off-by: Blue Swirl --- 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");