summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2009-09-30 18:56:44 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-09-30 18:56:44 +0000
commite8bbe36c03c6044953aa5b3fa8bcd7cb7b7b88e3 (patch)
tree600bbe982d47b2278f87551a09efb0fff95797c4 /linux-user
parenttarget-mips: unmatched brackets in if 0 (diff)
downloadqemu-kvm-e8bbe36c03c6044953aa5b3fa8bcd7cb7b7b88e3.tar.gz
qemu-kvm-e8bbe36c03c6044953aa5b3fa8bcd7cb7b7b88e3.tar.bz2
qemu-kvm-e8bbe36c03c6044953aa5b3fa8bcd7cb7b7b88e3.zip
linux-user: fix coding style nit
Put space between = and & when taking 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/syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index b42567c3d..bf06d14fc 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -2067,7 +2067,7 @@ static inline abi_long target_to_host_ipc_perm(struct ipc_perm *host_ip,
if (!lock_user_struct(VERIFY_READ, target_sd, target_addr, 1))
return -TARGET_EFAULT;
- target_ip=&(target_sd->sem_perm);
+ target_ip = &(target_sd->sem_perm);
host_ip->__key = tswapl(target_ip->__key);
host_ip->uid = tswapl(target_ip->uid);
host_ip->gid = tswapl(target_ip->gid);