elfload: fix coding style nit
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 30 Sep 2009 17:43:38 +0000 (19:43 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Wed, 30 Sep 2009 18:45:50 +0000 (18:45 +0000)
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>
bsd-user/elfload.c
linux-user/elfload.c

index 19981f0..33ddcc4 100644 (file)
@@ -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");
index 7c8e771..07277a6 100644 (file)
@@ -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");