diff options
Diffstat (limited to 'Kernel/Profiling.cpp')
-rw-r--r-- | Kernel/Profiling.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Profiling.cpp b/Kernel/Profiling.cpp index f7e247f529..ca817afa19 100644 --- a/Kernel/Profiling.cpp +++ b/Kernel/Profiling.cpp @@ -61,7 +61,7 @@ void start(Process& process) executable_path() = process.executable()->absolute_path().impl(); else executable_path() = {}; - s_pid = process.pid(); + s_pid = process.pid().value(); // FIXME: PID/TID INCOMPLETE if (!s_profiling_buffer) { s_profiling_buffer = RefPtr<KBufferImpl>(KBuffer::create_with_size(8 * MB).impl()).leak_ref(); |