diff options
Diffstat (limited to 'Source/Kernel/VFS/File.class.cpp')
-rw-r--r-- | Source/Kernel/VFS/File.class.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Kernel/VFS/File.class.cpp b/Source/Kernel/VFS/File.class.cpp index 69b08de..fbaabbe 100644 --- a/Source/Kernel/VFS/File.class.cpp +++ b/Source/Kernel/VFS/File.class.cpp @@ -44,7 +44,7 @@ bool File::open(String filename, u8int mode, FSNode* start) { else m_file->m_writers++; - Task::currentProcess->registerFileDescriptor(this); + Task::currProcess()->registerFileDescriptor(this); m_valid = true; return true; } @@ -135,5 +135,5 @@ void File::close(bool unregisterFD) { m_file = NULL; m_position = 0; m_writable = false; - if (unregisterFD) Task::currentProcess->unregisterFileDescriptor(this); + if (unregisterFD) Task::currProcess()->unregisterFileDescriptor(this); } |