Slight whitespace consistency improvement:

Trim trailing whitespace.
  Remove unmatched " " before ")".
This commit is contained in:
Robert Watson 2003-11-07 04:47:14 +00:00
parent 148e0bd79e
commit a2f88a8b7c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=122201
3 changed files with 4 additions and 4 deletions

View File

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

View File

@ -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;
}

View File

@ -395,7 +395,7 @@ kern_shmat(td, shmid, shmaddr, shmflg)
return (error);
}
int
int
shmat(td, uap)
struct thread *td;
struct shmat_args *uap;