diff options
-rw-r--r-- | Kernel/ProcessSpecificExposed.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Kernel/ProcessSpecificExposed.cpp b/Kernel/ProcessSpecificExposed.cpp index 1ed2820f94..30f803f229 100644 --- a/Kernel/ProcessSpecificExposed.cpp +++ b/Kernel/ProcessSpecificExposed.cpp @@ -97,8 +97,9 @@ KResult Process::traverse_file_descriptions_directory(unsigned fsid, Function<bo count++; return; } - InodeIdentifier identifier = { fsid, SegmentedProcFSIndex::build_segmented_index_for_file_description(pid(), count) }; - callback({ String::number(count), identifier, 0 }); + StringBuilder builder; + builder.appendff("{}", count); + callback({ builder.string_view(), { fsid, SegmentedProcFSIndex::build_segmented_index_for_file_description(pid(), count) }, 0 }); count++; }); return KSuccess; |