* [PATCH] Ipc: shm: fixed a brace coding style issue
@ 2011-11-18 13:11 Zac Storer
0 siblings, 0 replies; only message in thread
From: Zac Storer @ 2011-11-18 13:11 UTC (permalink / raw)
To: segoon; +Cc: linux-kernel, Zac Storer
Fixed a brace coding style issue.
Signed-off-by: Zac Storer <zac.3.14159@gmail.com>
---
ipc/shm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ipc/shm.c b/ipc/shm.c
index 02ecf2c..dfcf20d 100644
--- a/ipc/shm.c
+++ b/ipc/shm.c
@@ -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;
--
1.7.7.3
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-11-18 13:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-18 13:11 [PATCH] Ipc: shm: fixed a brace coding style issue Zac Storer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®