mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:18:12 +00:00
Start adding a basic /proc filesystem and a "ps" utility.
This commit is contained in:
parent
98f76f0153
commit
ed2422d7af
13 changed files with 139 additions and 23 deletions
|
@ -645,7 +645,9 @@ FileHandle* Task::openFile(String&& path)
|
|||
{
|
||||
auto handle = VirtualFileSystem::the().open(move(path));
|
||||
if (!handle) {
|
||||
#ifdef DEBUG_IO
|
||||
kprintf("vfs::open() failed\n");
|
||||
#endif
|
||||
return nullptr;
|
||||
}
|
||||
handle->setFD(m_fileHandles.size());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue