diff options
author | Lucas CHOLLET <lucas.chollet@free.fr> | 2022-06-10 20:06:06 +0200 |
---|---|---|
committer | Sam Atkins <atkinssj@gmail.com> | 2022-09-27 21:29:44 +0100 |
commit | 507cb411c26c5e4199f7130cee0ea50a4985dc51 (patch) | |
tree | 4075a73e7120872fe8f248c0bef616bd7babca60 /Userland/Services/SystemServer/Service.cpp | |
parent | 0396b6da82c34dc94dd9dc8248df536e8b3792c4 (diff) | |
download | serenity-507cb411c26c5e4199f7130cee0ea50a4985dc51.zip |
LibCore: Use `StringView` instead of `char *` in Account
Diffstat (limited to 'Userland/Services/SystemServer/Service.cpp')
-rw-r--r-- | Userland/Services/SystemServer/Service.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/SystemServer/Service.cpp b/Userland/Services/SystemServer/Service.cpp index c8a4da259b..673f0683c5 100644 --- a/Userland/Services/SystemServer/Service.cpp +++ b/Userland/Services/SystemServer/Service.cpp @@ -299,7 +299,7 @@ Service::Service(Core::ConfigFile const& config, StringView name) m_user = config.read_entry(name, "User"); if (!m_user.is_null()) { - auto result = Core::Account::from_name(m_user.characters(), Core::Account::Read::PasswdOnly); + auto result = Core::Account::from_name(m_user, Core::Account::Read::PasswdOnly); if (result.is_error()) warnln("Failed to resolve user {}: {}", m_user, result.error()); else |