X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/ad3c9f2af814c84582fdd1649e49ec4f68572c5a..HEAD:/stdio/FreeBSD/vsprintf.c?ds=inline diff --git a/stdio/FreeBSD/vsprintf.c b/stdio/FreeBSD/vsprintf.c index 9b85352..9ec7b24 100644 --- a/stdio/FreeBSD/vsprintf.c +++ b/stdio/FreeBSD/vsprintf.c @@ -51,14 +51,13 @@ vsprintf_l(char * __restrict str, locale_t loc, const char * __restrict fmt, __v f._extra = &ext; INITEXTRA(&f); - NORMALIZE_LOCALE(loc); f._file = -1; f._flags = __SWR | __SSTR; f._bf._base = f._p = (unsigned char *)str; f._bf._size = f._w = INT_MAX; f._orientation = 0; memset(&f._mbstate, 0, sizeof(mbstate_t)); - ret = __vfprintf(&f, loc, fmt, ap); + ret = __v2printf(XPRINTF_PLAIN, NULL, &f, loc, fmt, ap); *f._p = 0; return (ret); }