Fix value that is used before being initialised.

This lead to a drive to not be considered as FAT32 despite it is
(or vice-versa).
Thanks to Damien Guibouret <damien.guibouret@partition-saving.com>.


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1559 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2011-03-24 00:21:53 +00:00
parent 581d52a2bc
commit d9df755e78

View File

@ -1725,11 +1725,11 @@ STATIC f_node_ptr sft_to_fnode(int fd)
fnp->f_dir.dir_time = sftp->sft_time;
fnp->f_dir.dir_date = sftp->sft_date;
fnp->f_dir.dir_size = sftp->sft_size;
fnp->f_dpb = sftp->sft_dcb;
setdstart(fnp->f_dpb, &fnp->f_dir, sftp->sft_stclust);
fnp->f_diridx = sftp->sft_diridx;
fnp->f_dirsector = sftp->sft_dirsector;
fnp->f_dpb = sftp->sft_dcb;
fnp->f_offset = sftp->sft_posit;
fnp->f_cluster = sftp->sft_cuclust;
#ifdef WITHFAT32