X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FFilesystems%2FNTFS%2Fdir.c;h=11cd2417e43b25ccf58e4858e52c53d8c90f3314;hb=7143c19c04c283251ce32cd3226f04d69428cee3;hp=37661e82071c3b77063e2fbb4188725411969e19;hpb=48743e39650eb1ef988380e9d95f27fd40d3a9ce;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Filesystems/NTFS/dir.c b/KernelLand/Modules/Filesystems/NTFS/dir.c index 37661e82..11cd2417 100644 --- a/KernelLand/Modules/Filesystems/NTFS/dir.c +++ b/KernelLand/Modules/Filesystems/NTFS/dir.c @@ -10,7 +10,7 @@ #include "index.h" // === PROTOTYPES === -char *NTFS_ReadDir(tVFS_Node *Node, int Pos); + int NTFS_ReadDir(tVFS_Node *Node, int Pos, char Dest[FILENAME_MAX]); tVFS_Node *NTFS_FindDir(tVFS_Node *Node, const char *Name); Uint64 NTFS_int_IndexLookup(Uint64 Inode, const char *IndexName, const char *Str); @@ -18,9 +18,9 @@ Uint64 NTFS_int_IndexLookup(Uint64 Inode, const char *IndexName, const char *Str /** * \brief Get the name of an indexed directory entry */ -char *NTFS_ReadDir(tVFS_Node *Node, int Pos) +int NTFS_ReadDir(tVFS_Node *Node, int Pos, char Dest[FILENAME_MAX]) { - return NULL; + return -ENOTIMPL; } /**