1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:47:47 +00:00

LibCore: Add const qualifier to exec() argument spans

This commit is contained in:
MacDue 2023-02-04 15:43:38 +00:00 committed by Andreas Kling
parent 1668d0da27
commit f4236e61bf
4 changed files with 4 additions and 4 deletions

View file

@ -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;