summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-04-21 23:35:02 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-21 23:49:02 +0200
commite924da6c739cda065975b3b32ae1ff8f09fd5b07 (patch)
tree035b6ab8e8e785e884aa201aade32721e2f61c2a /Userland
parent83d3003208eb329457c65ba07c67fa76468d277b (diff)
downloadserenity-e924da6c739cda065975b3b32ae1ff8f09fd5b07.zip
TelnetServer: Convert String::format() => String::formatted()
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Services/TelnetServer/Command.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Services/TelnetServer/Command.h b/Userland/Services/TelnetServer/Command.h
index 25afb1fe22..aa086715ae 100644
--- a/Userland/Services/TelnetServer/Command.h
+++ b/Userland/Services/TelnetServer/Command.h
@@ -59,7 +59,7 @@ struct Command {
builder.append("DONT");
break;
default:
- builder.append(String::format("UNKNOWN<%02x>", command));
+ builder.append(String::formatted("UNKNOWN<{:02x}>", command));
break;
}
@@ -73,7 +73,7 @@ struct Command {
builder.append("SUPPRESS_GO_AHEAD");
break;
default:
- builder.append(String::format("UNKNOWN<%02x>", subcommand));
+ builder.append(String::formatted("UNKNOWN<{:02x}>", subcommand));
break;
}