Kernel: Fix typo proccess => process in a name of Process method
This commit is contained in:
parent
12b7328c22
commit
9216caeec2
Notes:
sideshowbarker
2024-07-17 06:51:48 +09:00
Author: https://github.com/supercomputer7 Commit: https://github.com/SerenityOS/serenity/commit/9216caeec2 Pull-request: https://github.com/SerenityOS/serenity/pull/17554 Reviewed-by: https://github.com/linusg
3 changed files with 3 additions and 3 deletions
|
@ -372,7 +372,7 @@ ErrorOr<void> ProcFSInode::try_fetch_process_property_data(NonnullLockRefPtr<Pro
|
|||
return {};
|
||||
}
|
||||
if (parent_subdirectory_type == SegmentedProcFSIndex::ProcessSubDirectory::Children) {
|
||||
TRY(process->procfs_get_child_proccess_link(m_possible_data.property_index, builder));
|
||||
TRY(process->procfs_get_child_process_link(m_possible_data.property_index, builder));
|
||||
return {};
|
||||
}
|
||||
|
||||
|
|
|
@ -657,7 +657,7 @@ public:
|
|||
ErrorOr<NonnullLockRefPtr<Inode>> lookup_file_descriptions_directory(ProcFS const&, StringView name) const;
|
||||
ErrorOr<NonnullLockRefPtr<Inode>> lookup_children_directory(ProcFS const&, StringView name) const;
|
||||
ErrorOr<void> traverse_children_directory(FileSystemID, Function<ErrorOr<void>(FileSystem::DirectoryEntryView const&)> callback) const;
|
||||
ErrorOr<size_t> procfs_get_child_proccess_link(ProcessID child_pid, KBufferBuilder& builder) const;
|
||||
ErrorOr<size_t> procfs_get_child_process_link(ProcessID child_pid, KBufferBuilder& builder) const;
|
||||
|
||||
private:
|
||||
inline PerformanceEventBuffer* current_perf_events_buffer()
|
||||
|
|
|
@ -108,7 +108,7 @@ ErrorOr<NonnullLockRefPtr<Inode>> Process::lookup_children_directory(ProcFS cons
|
|||
return TRY(ProcFSInode::try_create_as_child_process_link_inode(procfs, *maybe_pid, pid()));
|
||||
}
|
||||
|
||||
ErrorOr<size_t> Process::procfs_get_child_proccess_link(ProcessID child_pid, KBufferBuilder& builder) const
|
||||
ErrorOr<size_t> Process::procfs_get_child_process_link(ProcessID child_pid, KBufferBuilder& builder) const
|
||||
{
|
||||
TRY(builder.appendff("../../{}", child_pid.value()));
|
||||
return builder.length();
|
||||
|
|
Loading…
Add table
Reference in a new issue