mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
Kernel: Rename Space::create => Space::try_create()
This commit is contained in:
parent
8f6bc7fd10
commit
a085168c52
Notes:
sideshowbarker
2024-07-18 08:03:12 +09:00
Author: https://github.com/awesomekling
Commit: a085168c52
4 changed files with 4 additions and 4 deletions
|
@ -261,7 +261,7 @@ Process::Process(const String& name, uid_t uid, gid_t gid, ProcessID ppid, bool
|
|||
|
||||
KResult Process::attach_resources(RefPtr<Thread>& first_thread, Process* fork_parent)
|
||||
{
|
||||
m_space = Space::create(*this, fork_parent ? &fork_parent->space() : nullptr);
|
||||
m_space = Space::try_create(*this, fork_parent ? &fork_parent->space() : nullptr);
|
||||
if (!m_space)
|
||||
return ENOMEM;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue