summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls/disown.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Syscalls/disown.cpp')
-rw-r--r--Kernel/Syscalls/disown.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/disown.cpp b/Kernel/Syscalls/disown.cpp
index 4e5cdbc8dc..09ac972dc3 100644
--- a/Kernel/Syscalls/disown.cpp
+++ b/Kernel/Syscalls/disown.cpp
@@ -18,7 +18,7 @@ KResultOr<FlatPtr> Process::sys$disown(ProcessID pid)
if (process->ppid() != this->pid())
return ECHILD;
ProtectedDataMutationScope scope(*process);
- process->m_ppid = 0;
+ process->m_protected_values.ppid = 0;
process->disowned_by_waiter(*this);
return 0;
}