X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FFilesystems%2FNTFS%2Fdir.c;h=f72c637c9cd60ca6043538003e6e5351df3e2e53;hb=9c4eedf4893f851bd1ba60ce541c8d098a9ef7f7;hp=5697252b8d3878a4e53ea646bc79fb414b2180a4;hpb=ad1ca231acba6e83b2c3f199a6465f4e29282b08;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Filesystems/NTFS/dir.c b/KernelLand/Modules/Filesystems/NTFS/dir.c index 5697252b..f72c637c 100644 --- a/KernelLand/Modules/Filesystems/NTFS/dir.c +++ b/KernelLand/Modules/Filesystems/NTFS/dir.c @@ -84,8 +84,7 @@ int NTFS_ReadDir(tVFS_Node *Node, int Pos, char Dest[FILENAME_MAX]) vcn ++; } if( !ent ) { - LEAVE('i', 1); - return -1; + LEAVE_RET('i', -1); } // TODO: This is not future-proof