Slight whitespace consistency improvement:
Trim trailing whitespace. Remove unmatched " " before ")".
This commit is contained in:
parent
148e0bd79e
commit
a2f88a8b7c
@ -504,7 +504,7 @@ msgget(td, uap)
|
||||
error = EEXIST;
|
||||
goto done2;
|
||||
}
|
||||
if ((error = ipcperm(td, &msqptr->msg_perm, msgflg & 0700 ))) {
|
||||
if ((error = ipcperm(td, &msqptr->msg_perm, msgflg & 0700))) {
|
||||
DPRINTF(("requester doesn't have 0%o access\n",
|
||||
msgflg & 0700));
|
||||
goto done2;
|
||||
|
@ -51,7 +51,7 @@ int semop(struct thread *td, struct semop_args *uap);
|
||||
#endif
|
||||
|
||||
static struct sem_undo *semu_alloc(struct thread *td);
|
||||
static int semundo_adjust(struct thread *td, struct sem_undo **supptr,
|
||||
static int semundo_adjust(struct thread *td, struct sem_undo **supptr,
|
||||
int semid, int semnum, int adjval);
|
||||
static void semundo_clear(int semid, int semnum);
|
||||
|
||||
@ -527,7 +527,7 @@ __semctl(td, uap)
|
||||
semaptr = &sema[semid];
|
||||
sema_mtxp = &sema_mtx[semid];
|
||||
mtx_lock(sema_mtxp);
|
||||
if ((semaptr->sem_perm.mode & SEM_ALLOC) == 0 ) {
|
||||
if ((semaptr->sem_perm.mode & SEM_ALLOC) == 0) {
|
||||
error = EINVAL;
|
||||
goto done2;
|
||||
}
|
||||
|
@ -395,7 +395,7 @@ done2:
|
||||
return (error);
|
||||
}
|
||||
|
||||
int
|
||||
int
|
||||
shmat(td, uap)
|
||||
struct thread *td;
|
||||
struct shmat_args *uap;
|
||||
|
Loading…
x
Reference in New Issue
Block a user