X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FFilesystems%2FExt2%2Fext2fs.h;h=4f9210e903ba1db9f7b9ebbbf0889b66a8b0a9d0;hb=13078002b01ee4f63eb2001d2ef479a2a006ea32;hp=a3aa301e77dd4ba29b831bec3cba88017c385e5e;hpb=51ab5f489bc356940c95cc936fd0508e8f07ea97;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Filesystems/Ext2/ext2fs.h b/KernelLand/Modules/Filesystems/Ext2/ext2fs.h index a3aa301e..4f9210e9 100644 --- a/KernelLand/Modules/Filesystems/Ext2/ext2fs.h +++ b/KernelLand/Modules/Filesystems/Ext2/ext2fs.h @@ -157,6 +157,6 @@ struct ext2_dir_entry_s { Uint8 type; //!< File Type (Duplicate of ext2_inode_s.i_mode) char name[EXT2_NAME_LEN+1]; //!< File name }; -#define EXT2_DIRENT_SIZE (sizeof(struct ext2_dir_entry_s)-EXT2_NAME_LEN+1) +#define EXT2_DIRENT_SIZE (sizeof(struct ext2_dir_entry_s)-(EXT2_NAME_LEN+1)) #endif