summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCore/System.cpp
diff options
context:
space:
mode:
authorMacDue <macdue@dueutil.tech>2023-02-04 15:43:38 +0000
committerAndreas Kling <kling@serenityos.org>2023-02-05 16:40:51 +0100
commitf4236e61bf877194df72059cb64be3f49cfebe53 (patch)
tree40014667bf499386d7e6e4e27b04a62b20b23362 /Userland/Libraries/LibCore/System.cpp
parent1668d0da2718500519575cb8eddf9754866dea3a (diff)
downloadserenity-f4236e61bf877194df72059cb64be3f49cfebe53.zip
LibCore: Add const qualifier to exec() argument spans
Diffstat (limited to 'Userland/Libraries/LibCore/System.cpp')
-rw-r--r--Userland/Libraries/LibCore/System.cpp2
1 files changed, 1 insertions, 1 deletions
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<u64> create_jail(StringView jail_name)
}
#endif
-ErrorOr<void> exec(StringView filename, Span<StringView> arguments, SearchInPath search_in_path, Optional<Span<StringView>> environment)
+ErrorOr<void> exec(StringView filename, Span<StringView const> arguments, SearchInPath search_in_path, Optional<Span<StringView const>> environment)
{
#ifdef AK_OS_SERENITY
Syscall::SC_execve_params params;