summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/compat/svr4/svr4_misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/svr4/svr4_misc.c b/sys/compat/svr4/svr4_misc.c
index 6f7a65e..f081598 100644
--- a/sys/compat/svr4/svr4_misc.c
+++ b/sys/compat/svr4/svr4_misc.c
@@ -316,7 +316,7 @@ again:
#ifdef MAC
error = mac_check_vnode_readdir(td->td_ucred, vp);
if (error)
- return (error);
+ goto out;
#endif
error = VOP_READDIR(vp, &auio, fp->f_cred, &eofflag,
OpenPOWER on IntegriCloud