diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2020-08-08 17:32:34 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-10 11:51:45 +0200 |
commit | f5744a6f2f63ba9f881132227514b9b3f9496b63 (patch) | |
tree | 0d8eb80d2df75f42ec76c3a8cad17d4aeaccea68 /Kernel/Profiling.cpp | |
parent | f22532118411c675e5bd1d2487331e27a872a981 (diff) | |
download | serenity-f5744a6f2f63ba9f881132227514b9b3f9496b63.zip |
Kernel: PID/TID typing
This compiles, and contains exactly the same bugs as before.
The regex 'FIXME: PID/' should reveal all markers that I left behind, including:
- Incomplete conversion
- Issues or things that look fishy
- Actual bugs that will go wrong during runtime
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(); |