Modules/NTFS - Fixed errnous RETURN() debug statment
authorJohn Hodge <[email protected]>
Sat, 7 Sep 2013 15:03:54 +0000 (23:03 +0800)
committerJohn Hodge <[email protected]>
Sat, 7 Sep 2013 15:03:54 +0000 (23:03 +0800)
KernelLand/Modules/Filesystems/NTFS/dir.c

index 5697252..f72c637 100644 (file)
@@ -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

UCC git Repository :: git.ucc.asn.au