From 32b8795091681de7296074fb9a7b4f63a17e475a Mon Sep 17 00:00:00 2001 From: Vitaly Dyachkov Date: Fri, 11 Feb 2022 17:33:09 +0100 Subject: LibConfig: Rename pledge_domains(String) => pledge_domain(String) pledge_domains() that takes only one String argument was specifically added as a shortcut for pledging a single domain. So, it makes sense to use singular here. --- Userland/Applications/KeyboardSettings/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Applications/KeyboardSettings/main.cpp') diff --git a/Userland/Applications/KeyboardSettings/main.cpp b/Userland/Applications/KeyboardSettings/main.cpp index 046312eeeb..c6d0faf337 100644 --- a/Userland/Applications/KeyboardSettings/main.cpp +++ b/Userland/Applications/KeyboardSettings/main.cpp @@ -18,7 +18,7 @@ ErrorOr serenity_main(Main::Arguments arguments) { TRY(Core::System::pledge("stdio rpath recvfd sendfd unix proc exec")); auto app = TRY(GUI::Application::try_create(arguments)); - Config::pledge_domains("KeyboardSettings"); + Config::pledge_domain("KeyboardSettings"); TRY(Core::System::pledge("stdio rpath recvfd sendfd proc exec")); TRY(Core::System::unveil("/res", "r")); -- cgit v1.2.3