1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 03:37:43 +00:00

LibC: Use dbgln() in setlocale()

This commit is contained in:
Andreas Kling 2020-10-30 00:01:31 +01:00
parent 27a7ebe548
commit 34014fa838

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;
} }