summaryrefslogtreecommitdiff
path: root/Kernel/Credentials.cpp
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2023-01-28 20:12:17 +0000
committerJelle Raaijmakers <jelle@gmta.nl>2023-01-28 22:41:36 +0100
commit9c08bb95553539d1880a5ac81ba5608d4ad874de (patch)
treee3774fe4f7ce021b9331ddbac3846e62e25778a6 /Kernel/Credentials.cpp
parent909c2a73c4aa2359e3670b7e93d9a5051ba3881e (diff)
downloadserenity-9c08bb95553539d1880a5ac81ba5608d4ad874de.zip
AK: Remove `try_` prefix from FixedArray creation functions
Diffstat (limited to 'Kernel/Credentials.cpp')
-rw-r--r--Kernel/Credentials.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Credentials.cpp b/Kernel/Credentials.cpp
index 3fb155dbc1..ba97a34be2 100644
--- a/Kernel/Credentials.cpp
+++ b/Kernel/Credentials.cpp
@@ -12,7 +12,7 @@ namespace Kernel {
ErrorOr<NonnullRefPtr<Credentials>> Credentials::create(UserID uid, GroupID gid, UserID euid, GroupID egid, UserID suid, GroupID sgid, Span<GroupID const> extra_gids, SessionID sid, ProcessGroupID pgid)
{
- auto extra_gids_array = TRY(FixedArray<GroupID>::try_create(extra_gids));
+ auto extra_gids_array = TRY(FixedArray<GroupID>::create(extra_gids));
return adopt_nonnull_ref_or_enomem(new (nothrow) Credentials(uid, gid, euid, egid, suid, sgid, move(extra_gids_array), sid, pgid));
}