aboutsummaryrefslogtreecommitdiff
path: root/linux-user/syscall.c
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/syscall.c
parent58caed6dda60817e2067a0e312b4a6d8524c2b6b (diff)
downloadqemu-e8bbe36c03c6044953aa5b3fa8bcd7cb7b7b88e3.zip
qemu-e8bbe36c03c6044953aa5b3fa8bcd7cb7b7b88e3.tar.gz
qemu-e8bbe36c03c6044953aa5b3fa8bcd7cb7b7b88e3.tar.bz2
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/syscall.c')
-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 b42567c..bf06d14 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);