Added dup_inode to fchdir() call. Still not sure if it is correct now.

This commit is contained in:
Ben Gras 2005-07-27 16:04:26 +00:00
parent f88431f1f7
commit 3292badc37

View File

@ -34,7 +34,7 @@ PUBLIC int do_fchdir()
/* Is the file descriptor valid? */
if ( (rfilp = get_filp(m_in.fd)) == NIL_FILP) return(err_code);
dup_inode(rfilp->filp_ino);
return change_into(&fp->fp_workdir, rfilp->filp_ino);
}