Fix for fchdir().

This commit is contained in:
Ben Gras 2006-01-20 12:43:35 +00:00
parent 3bddaaf580
commit f806a66edf

View file

@ -38,6 +38,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);
}