Skip to contentSkip to conversation

Ipc: shm: fixed a brace coding style issue

PATCH New Zac Storer 1 participant 1 message Nov 18, 2011

lore
Share & tools
lore

Zac Storer

author
#0 lore raw

PATCH 1/1 Ipc: shm: fixed a brace coding style issue

Fixed a brace coding style issue.

---
 ipc/shm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
ipc/shm.c +1 -1
index 02ecf2c..dfcf20d 100644
@@ -88,7 +88,7 @@ static void do_shm_rmid(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp)
 	struct shmid_kernel *shp;
 	shp = container_of(ipcp, struct shmid_kernel, shm_perm);
 
-	if (shp->shm_nattch){
+	if (shp->shm_nattch) {
 		shp->shm_perm.mode |= SHM_DEST;
 		/* Do not find it any more */
 		shp->shm_perm.key = IPC_PRIVATE;
Signature · 1 line
1.7.7.3