From 34014fa838cbc7e427ae00818fdf8f665f0e7801 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 30 Oct 2020 00:01:31 +0100 Subject: [PATCH] LibC: Use dbgln() in setlocale() --- Libraries/LibC/locale.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Libraries/LibC/locale.cpp b/Libraries/LibC/locale.cpp index c8f3e4f85d..5bfcfc0e24 100644 --- a/Libraries/LibC/locale.cpp +++ b/Libraries/LibC/locale.cpp @@ -24,6 +24,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include #include #include #include @@ -66,7 +67,7 @@ static struct lconv default_locale = { char* setlocale(int category, const char* locale) { - dbgprintf("FIXME(LibC): setlocale(%d, %s)\n", category, locale); + dbgln("FIXME(LibC): setlocale({}, '{}')", category, locale); return nullptr; }