From: John Hodge Date: Sat, 7 Sep 2013 15:03:54 +0000 (+0800) Subject: Modules/NTFS - Fixed errnous RETURN() debug statment X-Git-Tag: rel0.15~259 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;ds=sidebyside;h=06280cc2d067a7a5f9b41bffdf3fc300e81b227d;hp=a1473d9066eb08a25c85784e6839a31abd6393fb;p=tpg%2Facess2.git Modules/NTFS - Fixed errnous RETURN() debug statment --- 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