mirror of
https://github.com/troglobit/finit.git
synced 2026-11-29 21:08:21 +00:00
Whitespace changes only
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
63722a20ac
commit
0d098616e8
1 file changed
+2
-2
@@ -84,8 +84,8 @@ static inline svc_t *finit_svc_connect(void)
|
|||||||
static void *ptr = (void *)-1;
|
static void *ptr = (void *)-1;
|
||||||
|
|
||||||
if ((void *)-1 == ptr) {
|
if ((void *)-1 == ptr) {
|
||||||
ptr = shmat (shmget (FINIT_SHM_ID, sizeof(svc_t) * MAX_NUM_SVC,
|
ptr = shmat(shmget(FINIT_SHM_ID, sizeof(svc_t) * MAX_NUM_SVC,
|
||||||
0600 | IPC_CREAT), NULL, 0);
|
0600 | IPC_CREAT), NULL, 0);
|
||||||
if ((void *)-1 == ptr)
|
if ((void *)-1 == ptr)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user