diff options
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 c2fb68a0a4..9928e44207 100644 --- a/Userland/Services/SystemServer/Service.cpp +++ b/Userland/Services/SystemServer/Service.cpp @@ -82,8 +82,8 @@ void Service::setup_notifier() VERIFY(m_sockets.size() == 1); VERIFY(!m_socket_notifier); - m_socket_notifier = Core::Notifier::construct(m_sockets[0].fd, Core::Notifier::Event::Read, this); - m_socket_notifier->on_ready_to_read = [this] { + m_socket_notifier = Core::Notifier::construct(m_sockets[0].fd, Core::Notifier::Type::Read, this); + m_socket_notifier->on_activation = [this] { if (auto result = handle_socket_connection(); result.is_error()) dbgln("{}", result.release_error()); }; |