svn commit: r196013 - stable/7/sys/kern
John Baldwin
jhb at FreeBSD.org
Sat Aug 1 11:40:48 UTC 2009
Author: jhb
Date: Sat Aug 1 11:40:46 2009
New Revision: 196013
URL: http://svn.freebsd.org/changeset/base/196013
Log:
Fix compile of oshmctl() with MAC.
Pointy hat to: jhb
Modified:
stable/7/sys/kern/sysv_shm.c
Modified: stable/7/sys/kern/sysv_shm.c
==============================================================================
--- stable/7/sys/kern/sysv_shm.c Sat Aug 1 09:54:52 2009 (r196012)
+++ stable/7/sys/kern/sysv_shm.c Sat Aug 1 11:40:46 2009 (r196013)
@@ -911,7 +911,7 @@ oshmctl(struct thread *td, struct oshmct
if (error)
goto done2;
#ifdef MAC
- error = mac_sysvshm_check_shmctl(td->td_ucred, shmseg, uap->cmd);
+ error = mac_check_sysv_shmctl(td->td_ucred, shmseg, uap->cmd);
if (error != 0)
goto done2;
#endif
More information about the svn-src-all
mailing list