diff options
author | AnotherTest <ali.mpfard@gmail.com> | 2021-02-07 15:33:24 +0330 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-02-08 18:08:55 +0100 |
commit | 09a43969ba957b3484cc9387344fea145f46aa46 (patch) | |
tree | 0e2077e1d8af02b06e39cb4ca6cbfcba37052c73 /Userland/Services/SystemServer/Service.cpp | |
parent | 1f8a633cc762fc3ca8544ee75ce25a7a8860d4be (diff) | |
download | serenity-09a43969ba957b3484cc9387344fea145f46aa46.zip |
Everywhere: Replace dbgln<flag>(...) with dbgln_if(flag, ...)
Replacement made by `find Kernel Userland -name '*.h' -o -name '*.cpp' | sed -i -Ee 's/dbgln\b<(\w+)>\(/dbgln_if(\1, /g'`
Diffstat (limited to 'Userland/Services/SystemServer/Service.cpp')
-rw-r--r-- | Userland/Services/SystemServer/Service.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Services/SystemServer/Service.cpp b/Userland/Services/SystemServer/Service.cpp index b59629ac71..bd21306404 100644 --- a/Userland/Services/SystemServer/Service.cpp +++ b/Userland/Services/SystemServer/Service.cpp @@ -115,7 +115,7 @@ void Service::setup_notifier() void Service::handle_socket_connection() { - dbgln<SERVICE_DEBUG>("Ready to read on behalf of {}", name()); + dbgln_if(SERVICE_DEBUG, "Ready to read on behalf of {}", name()); if (m_accept_socket_connections) { int accepted_fd = accept(m_socket_fd, nullptr, nullptr); @@ -144,7 +144,7 @@ void Service::activate() void Service::spawn(int socket_fd) { - dbgln<SERVICE_DEBUG>("Spawning {}", name()); + dbgln_if(SERVICE_DEBUG, "Spawning {}", name()); m_run_timer.start(); pid_t pid = fork(); |