qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT e8bbe36] linux-user: fix coding style nit


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT e8bbe36] linux-user: fix coding style nit
Date: Wed, 30 Sep 2009 19:01:11 -0000

From: Michael S. Tsirkin <address@hidden>

Put space between = and & when taking a pointer,
to avoid confusion with old-style "&=".

Signed-off-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>

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);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]