Fix missing parens in MAC readdir() check. This fix was in the MAC

branch, but apparently didn't get moved over when it was made.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
This commit is contained in:
rwatson 2002-08-12 01:18:33 +00:00
parent 97ad1768f7
commit d6f287a5ac

View File

@ -331,7 +331,7 @@ again:
/*
* Do directory search MAC check using non-cached credentials.
*/
if ((error = mac_check_vnode_readdir(td->td_proc->p_ucred, vp))
if ((error = mac_check_vnode_readdir(td->td_proc->p_ucred, vp)))
goto out;
#endif /* MAC */
if ((error = VOP_READDIR(vp, &auio, fp->f_cred, &eofflag, &ncookies,