1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00

Fix !CAPABILITIES build.

This commit is contained in:
Gleb Smirnoff 2013-09-05 10:24:09 +00:00
parent c7e4729da4
commit 2af0c790ec
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=255239

View File

@ -2247,7 +2247,9 @@ sys_kmq_timedsend(struct thread *td, struct kmq_timedsend_args *uap)
static int static int
kern_kmq_notify(struct thread *td, int mqd, struct sigevent *sigev) kern_kmq_notify(struct thread *td, int mqd, struct sigevent *sigev)
{ {
#ifdef CAPABILITIES
cap_rights_t rights; cap_rights_t rights;
#endif
struct filedesc *fdp; struct filedesc *fdp;
struct proc *p; struct proc *p;
struct mqueue *mq; struct mqueue *mq;