mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:47:35 +00:00
Everywhere: Fix incorrect uses of String::format and StringBuilder::appendf
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
This commit is contained in:
parent
099b83fd28
commit
6d97b623cd
9 changed files with 10 additions and 10 deletions
|
@ -173,7 +173,7 @@ struct ParsedDHCPv4Options {
|
|||
{
|
||||
StringBuilder builder;
|
||||
builder.append("DHCP Options (");
|
||||
builder.appendf("%d", options.size());
|
||||
builder.appendf("%zu", options.size());
|
||||
builder.append(" entries)\n");
|
||||
for (auto& opt : options) {
|
||||
builder.appendf("\toption %d (%d bytes):", (u8)opt.key, (u8)opt.value.length);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue