1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:37:35 +00:00

Kernel: Turn Process::FileDescriptionAndFlags into a proper class

This commit is contained in:
Andreas Kling 2020-07-30 23:50:31 +02:00
parent f2a152e930
commit 2e2de125e5
8 changed files with 34 additions and 24 deletions

View file

@ -53,7 +53,7 @@ int Process::sys$watch_file(const char* user_path, size_t path_length)
return fd;
m_fds[fd].set(FileDescription::create(*InodeWatcher::create(inode)));
m_fds[fd].description->set_readable(true);
m_fds[fd].description()->set_readable(true);
return fd;
}