diff --git a/Kernel/Net/IPv4SocketTuple.h b/Kernel/Net/IPv4SocketTuple.h index e3beb927cb..a63d3aca71 100644 --- a/Kernel/Net/IPv4SocketTuple.h +++ b/Kernel/Net/IPv4SocketTuple.h @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include @@ -33,9 +34,9 @@ public: return other.local_address() == m_local_address && other.local_port() == m_local_port && other.peer_address() == m_peer_address && other.peer_port() == m_peer_port; }; - String to_string() const + ErrorOr> to_string() const { - return String::formatted( + return KString::formatted( "{}:{} -> {}:{}", m_local_address, m_local_port,