diff --git a/Ladybird/HelperProcess.cpp b/Ladybird/HelperProcess.cpp index 52a0d0ca68..b3e12bcbe4 100644 --- a/Ladybird/HelperProcess.cpp +++ b/Ladybird/HelperProcess.cpp @@ -9,7 +9,7 @@ #include #include -ErrorOr spawn_helper_process(StringView process_name, Span arguments, Core::System::SearchInPath search_in_path, Optional> environment) +ErrorOr spawn_helper_process(StringView process_name, Span arguments, Core::System::SearchInPath search_in_path, Optional> environment) { auto paths = TRY(get_paths_for_helper_process(process_name)); VERIFY(!paths.is_empty()); diff --git a/Ladybird/HelperProcess.h b/Ladybird/HelperProcess.h index 18d530a321..c7e54e0778 100644 --- a/Ladybird/HelperProcess.h +++ b/Ladybird/HelperProcess.h @@ -14,5 +14,5 @@ #include #include -ErrorOr spawn_helper_process(StringView process_name, Span arguments, Core::System::SearchInPath, Optional> environment = {}); +ErrorOr spawn_helper_process(StringView process_name, Span arguments, Core::System::SearchInPath, Optional> environment = {}); ErrorOr> get_paths_for_helper_process(StringView process_name); diff --git a/Userland/Libraries/LibCore/System.cpp b/Userland/Libraries/LibCore/System.cpp index 512a4db08f..e266eceaba 100644 --- a/Userland/Libraries/LibCore/System.cpp +++ b/Userland/Libraries/LibCore/System.cpp @@ -1113,7 +1113,7 @@ ErrorOr create_jail(StringView jail_name) } #endif -ErrorOr exec(StringView filename, Span arguments, SearchInPath search_in_path, Optional> environment) +ErrorOr exec(StringView filename, Span arguments, SearchInPath search_in_path, Optional> environment) { #ifdef AK_OS_SERENITY Syscall::SC_execve_params params; diff --git a/Userland/Libraries/LibCore/System.h b/Userland/Libraries/LibCore/System.h index 8520d278fc..8791efc082 100644 --- a/Userland/Libraries/LibCore/System.h +++ b/Userland/Libraries/LibCore/System.h @@ -178,7 +178,7 @@ enum class SearchInPath { ErrorOr exec_command(Vector& command, bool preserve_env); #endif -ErrorOr exec(StringView filename, Span arguments, SearchInPath, Optional> environment = {}); +ErrorOr exec(StringView filename, Span arguments, SearchInPath, Optional> environment = {}); #ifdef AK_OS_SERENITY ErrorOr join_jail(u64 jail_index);