long double need use the format of 'Lf'

Signed-off-by: zhangwenjian <zhangwenjian@xiaomi.com>
This commit is contained in:
zhangwenjian 2024-07-17 19:07:22 +08:00 committed by Xiang Xiao
parent 955a3838f7
commit 18497e5bc6

View file

@ -434,7 +434,7 @@ static int vsprintf_internal(FAR struct lib_outstream_s *stream,
continue;
}
if (c == 'l')
if (c == 'l' || c == 'L')
{
if ((flags & FL_LONG) != 0)
{