linux-user: fix coding style nit
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 30 Sep 2009 18:56:44 +0000 (18:56 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Wed, 30 Sep 2009 18:56:44 +0000 (18:56 +0000)
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>
linux-user/syscall.c

index b42567c..bf06d14 100644 (file)
@@ -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);