X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Fvfs%2Fopen.c;h=04facc7d861753616b7c6623164f4795a5dd1150;hb=3c496a30a8c22105fcf21089dce53809e5201205;hp=d203571327283e6d271fc5128ccc8ebf881fca97;hpb=077a1c5d962b20dee54c6b31c8f37d2fe79105ad;p=tpg%2Facess2.git diff --git a/Kernel/vfs/open.c b/Kernel/vfs/open.c index d2035713..04facc7d 100644 --- a/Kernel/vfs/open.c +++ b/Kernel/vfs/open.c @@ -4,6 +4,7 @@ */ #define DEBUG 0 #include +#include #include "vfs.h" #include "vfs_int.h" #include "vfs_ext.h" @@ -759,6 +760,8 @@ tVFS_Handle *VFS_GetHandle(int FD) { tVFS_Handle *h; + //Log_Debug("VFS", "VFS_GetHandle: (FD=0x%x)", FD); + if(FD < 0) return NULL; if(FD & VFS_KERNEL_FLAG) { @@ -771,6 +774,7 @@ tVFS_Handle *VFS_GetHandle(int FD) } if(h->Node == NULL) return NULL; + //Log_Debug("VFS", "VFS_GetHandle: RETURN %p", h); return h; }