summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-10-30 00:01:31 +0100
committerAndreas Kling <kling@serenityos.org>2020-10-30 17:03:28 +0100
commit34014fa838cbc7e427ae00818fdf8f665f0e7801 (patch)
treee74481005168b68add70e23b5775e6ea69fcdfe7
parent27a7ebe548326ef83398cd0befeeb786eaf25f43 (diff)
downloadserenity-34014fa838cbc7e427ae00818fdf8f665f0e7801.zip
LibC: Use dbgln() in setlocale()
-rw-r--r--Libraries/LibC/locale.cpp3
1 files changed, 2 insertions, 1 deletions
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 <AK/LogStream.h>
#include <assert.h>
#include <locale.h>
#include <stdio.h>
@@ -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;
}