summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls/setpgid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Syscalls/setpgid.cpp')
-rw-r--r--Kernel/Syscalls/setpgid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/setpgid.cpp b/Kernel/Syscalls/setpgid.cpp
index f9832b9f58..7800c5b3a9 100644
--- a/Kernel/Syscalls/setpgid.cpp
+++ b/Kernel/Syscalls/setpgid.cpp
@@ -40,7 +40,7 @@ KResultOr<FlatPtr> Process::sys$setsid()
m_pg = ProcessGroup::create(ProcessGroupID(pid().value()));
m_tty = nullptr;
ProtectedDataMutationScope scope { *this };
- m_sid = pid().value();
+ m_protected_values.sid = pid().value();
return sid().value();
}