diff --git a/sys/fs/vfs/file.c b/sys/fs/vfs/file.c index afc64bc..bce2f5f 100644 --- a/sys/fs/vfs/file.c +++ b/sys/fs/vfs/file.c @@ -313,10 +313,6 @@ } - if( fd->fd_type == 0x100 ) { - return(0x0); - } - assert( fd ); assert( fd->mp ); assert( fd->mp->fs ); diff --git a/sys/kernel/vfs_calls.c b/sys/kernel/vfs_calls.c index cb70f3c..40aa8c3 100644 --- a/sys/kernel/vfs_calls.c +++ b/sys/kernel/vfs_calls.c @@ -455,6 +455,8 @@ bzero( &tmpPath, 256 ); + kprintf( "Flags: 0x%X, Mode: 0x%X", flags, mode ); + if( path[0] == '.' ) { sprintf( tmpPath, "%s", _current->oInfo.cwd );