diff --git a/sdk/lib/fslib/vfatlib/check/check.c b/sdk/lib/fslib/vfatlib/check/check.c index ae6f5cb8bdb..1ade0703e04 100644 --- a/sdk/lib/fslib/vfatlib/check/check.c +++ b/sdk/lib/fslib/vfatlib/check/check.c @@ -666,7 +666,14 @@ static int check_file(DOS_FS * fs, DOS_FILE * file) (rw) ? " Assuming EOF." : ""); #endif if (prev) +#ifdef __REACTOS__ + { + if (rw) +#endif set_fat(fs, prev, -1); +#ifdef __REACTOS__ + } +#endif else if (!file->offset) die("FAT32 root dir starts with a bad cluster!"); else