mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:14:58 +00:00
LibC: Convert StringBuilder::appendf() => AK::Format
This commit is contained in:
parent
72259d5cee
commit
f1c6288803
2 changed files with 22 additions and 22 deletions
|
@ -119,9 +119,9 @@ void vsyslog_r(int priority, struct syslog_data* data, const char* message, va_l
|
|||
|
||||
// Some metadata would be consumed by a syslog daemon, if we had one.
|
||||
if (data->logopt & LOG_PID)
|
||||
combined.appendf("%s[%d]: ", get_syslog_ident(data), getpid());
|
||||
combined.appendff("{}[{}]: ", get_syslog_ident(data), getpid());
|
||||
else
|
||||
combined.appendf("%s: ", get_syslog_ident(data));
|
||||
combined.appendff("{}: ", get_syslog_ident(data));
|
||||
|
||||
combined.appendvf(message, args);
|
||||
String combined_string = combined.build();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue