summaryrefslogtreecommitdiff
path: root/Kernel/Net/IPv4Socket.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-02-09 16:08:43 +0100
committerAndreas Kling <kling@serenityos.org>2021-02-09 19:18:13 +0100
commit1f277f0bd9d6b74b3a521bd1dc280372b661d81d (patch)
treee1c94652053305517d0a44e59e8dfc414d9471ec /Kernel/Net/IPv4Socket.cpp
parent764af6cdecb0e86a163f52472b6ffe5e1504628f (diff)
downloadserenity-1f277f0bd9d6b74b3a521bd1dc280372b661d81d.zip
Kernel: Convert all *Builder::appendf() => appendff()
Diffstat (limited to 'Kernel/Net/IPv4Socket.cpp')
-rw-r--r--Kernel/Net/IPv4Socket.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Net/IPv4Socket.cpp b/Kernel/Net/IPv4Socket.cpp
index 33b08a7a8b..29a7ba918a 100644
--- a/Kernel/Net/IPv4Socket.cpp
+++ b/Kernel/Net/IPv4Socket.cpp
@@ -433,9 +433,9 @@ String IPv4Socket::absolute_path(const FileDescription&) const
StringBuilder builder;
builder.append("socket:");
- builder.appendf("%s:%d", m_local_address.to_string().characters(), m_local_port);
+ builder.appendff("{}:{}", m_local_address.to_string(), m_local_port);
if (m_role == Role::Accepted || m_role == Role::Connected)
- builder.appendf(" / %s:%d", m_peer_address.to_string().characters(), m_peer_port);
+ builder.appendff(" / {}:{}", m_peer_address.to_string(), m_peer_port);
switch (m_role) {
case Role::Listener: