summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2023-02-20 22:19:46 +0200
committerLinus Groh <mail@linusgroh.de>2023-02-24 22:14:18 +0100
commit9216caeec20c41e96e969d8992d6a104649a94de (patch)
tree1f3371b3ec4112cb0405ba81ad72d3de47f8281d /Kernel
parent12b7328c22c698390bf84a58e85651487a35d472 (diff)
downloadserenity-9216caeec20c41e96e969d8992d6a104649a94de.zip
Kernel: Fix typo proccess => process in a name of Process method
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/FileSystem/ProcFS/Inode.cpp2
-rw-r--r--Kernel/Process.h2
-rw-r--r--Kernel/ProcessSpecificExposed.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/FileSystem/ProcFS/Inode.cpp b/Kernel/FileSystem/ProcFS/Inode.cpp
index 36b325911c..536b275c83 100644
--- a/Kernel/FileSystem/ProcFS/Inode.cpp
+++ b/Kernel/FileSystem/ProcFS/Inode.cpp
@@ -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 {};
}
diff --git a/Kernel/Process.h b/Kernel/Process.h
index de02fdc64a..35b8037d5d 100644
--- a/Kernel/Process.h
+++ b/Kernel/Process.h
@@ -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()
diff --git a/Kernel/ProcessSpecificExposed.cpp b/Kernel/ProcessSpecificExposed.cpp
index c5ce04e402..4523cb9b02 100644
--- a/Kernel/ProcessSpecificExposed.cpp
+++ b/Kernel/ProcessSpecificExposed.cpp
@@ -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();