LibC: Use dbgln() in setlocale()

This commit is contained in:
Andreas Kling 2020-10-30 00:01:31 +01:00
commit 34014fa838
Notes: sideshowbarker 2024-07-19 01:38:40 +09:00

View file

@ -24,6 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <AK/LogStream.h>
#include <assert.h> #include <assert.h>
#include <locale.h> #include <locale.h>
#include <stdio.h> #include <stdio.h>
@ -66,7 +67,7 @@ static struct lconv default_locale = {
char* setlocale(int category, const char* 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; return nullptr;
} }