Fix warning
authorHervé Poussineau <hpoussin@reactos.org>
Sat, 17 Oct 2009 14:55:50 +0000 (14:55 +0000)
committerHervé Poussineau <hpoussin@reactos.org>
Sat, 17 Oct 2009 14:55:50 +0000 (14:55 +0000)
svn path=/trunk/; revision=43531

reactos/boot/freeldr/freeldr/fs/fat.c

index 645fa0e..2019d85 100644 (file)
@@ -796,7 +796,7 @@ LONG FatLookupFile(PFAT_VOLUME_INFO Volume, PCSTR FileName, ULONG DeviceId, PFAT
                        //
                        // Check if current entry is a directory
                        //
-                       if (!FatFileInfo.Attributes & ATTR_DIRECTORY)
+                       if (!(FatFileInfo.Attributes & ATTR_DIRECTORY))
                        {
                                MmFreeMemory(FatFileInfo.FileFatChain);
                                return ENOTDIR;