From d6f287a5ac20705b577c71c0fa35d61660e3de7c Mon Sep 17 00:00:00 2001 From: rwatson Date: Mon, 12 Aug 2002 01:18:33 +0000 Subject: 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 --- sys/compat/linux/linux_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/compat/linux/linux_file.c') diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c index 3c459dd..847e23e 100644 --- a/sys/compat/linux/linux_file.c +++ b/sys/compat/linux/linux_file.c @@ -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, -- cgit v1.1