From 06280cc2d067a7a5f9b41bffdf3fc300e81b227d Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sat, 7 Sep 2013 23:03:54 +0800 Subject: [PATCH] Modules/NTFS - Fixed errnous RETURN() debug statment --- KernelLand/Modules/Filesystems/NTFS/dir.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.20.1