Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 2013 10:24:10 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r255239 - head/sys/kern
Message-ID:  <201309051024.r85AOA4p020597@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glebius
Date: Thu Sep  5 10:24:09 2013
New Revision: 255239
URL: http://svnweb.freebsd.org/changeset/base/255239

Log:
  Fix !CAPABILITIES build.

Modified:
  head/sys/kern/uipc_mqueue.c

Modified: head/sys/kern/uipc_mqueue.c
==============================================================================
--- head/sys/kern/uipc_mqueue.c	Thu Sep  5 10:09:24 2013	(r255238)
+++ head/sys/kern/uipc_mqueue.c	Thu Sep  5 10:24:09 2013	(r255239)
@@ -2247,7 +2247,9 @@ sys_kmq_timedsend(struct thread *td, str
 static int
 kern_kmq_notify(struct thread *td, int mqd, struct sigevent *sigev)
 {
+#ifdef CAPABILITIES
 	cap_rights_t rights;
+#endif
 	struct filedesc *fdp;
 	struct proc *p;
 	struct mqueue *mq;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309051024.r85AOA4p020597>