UserspaceEmulator: Use vdbgln() instead of dbgln() when reporting

This will avoid conflict with the upcoming compiletime checks.
This commit is contained in:
AnotherTest 2021-02-07 15:31:13 +03:30 committed by Andreas Kling
parent f0d85acc94
commit b68e34cc2e
Notes: sideshowbarker 2024-07-18 22:30:27 +09:00

View file

@ -34,7 +34,7 @@ template<typename... Ts>
void reportln(const StringView& format, Ts... args)
{
if (g_report_to_debug)
dbgln(format, args...);
AK::vdbgln(format, AK::VariadicFormatParams { args... });
else
warnln(format, args...);
}