make compile, add missing { and variable declaration.

This commit is contained in:
Alfred Perlstein 2002-01-19 03:48:38 +00:00
parent 083f6f9711
commit 7e9aab77c5

View File

@ -603,7 +603,7 @@ svr4_sys_fchroot(td, uap)
struct svr4_sys_fchroot_args *uap;
{
struct filedesc *fdp = td->td_proc->p_fd;
struct vnode *vp;
struct vnode *vp, *vpold;
struct file *fp;
int error;
@ -618,7 +618,7 @@ svr4_sys_fchroot(td, uap)
else
error = VOP_ACCESS(vp, VEXEC, td->td_proc->p_ucred, td);
VOP_UNLOCK(vp, 0, td);
if (error)
if (error) {
fdrop(fp, td);
return error;
}