diff options
Diffstat (limited to 'Userland/Libraries/LibC/syslog.cpp')
-rw-r--r-- | Userland/Libraries/LibC/syslog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibC/syslog.cpp b/Userland/Libraries/LibC/syslog.cpp index d509cd863c..5866b59ca7 100644 --- a/Userland/Libraries/LibC/syslog.cpp +++ b/Userland/Libraries/LibC/syslog.cpp @@ -124,7 +124,7 @@ void vsyslog_r(int priority, struct syslog_data* data, char const* message, va_l combined.appendff("{}: ", get_syslog_ident(data)); combined.appendvf(message, args); - DeprecatedString combined_string = combined.build(); + auto combined_string = combined.to_deprecated_string(); if (data->logopt & LOG_CONS) dbgputstr(combined_string.characters(), combined_string.length()); |