summaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2009-09-30 19:43:38 +0200
committerBlue Swirl <blauwirbel@gmail.com>2009-09-30 18:45:50 +0000
commitd64186ac1eab9e0d98427745b072d51d0ebd4032 (patch)
tree7d81733e44fd9533d3c58a1cbe360075235f4cd2 /linux-user
parent04577a56e2b772d3530ed13ea8ae270233d65e9f (diff)
downloadqemu-d64186ac1eab9e0d98427745b072d51d0ebd4032.tar.gz
qemu-d64186ac1eab9e0d98427745b072d51d0ebd4032.tar.bz2
qemu-d64186ac1eab9e0d98427745b072d51d0ebd4032.zip
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 <mst@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/elfload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c
index 7c8e771df1..07277a6a22 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");