mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 20:08:15 +08:00
long double need use the format of 'Lf'
Signed-off-by: zhangwenjian <zhangwenjian@xiaomi.com>
This commit is contained in:
@@ -434,7 +434,7 @@ static int vsprintf_internal(FAR struct lib_outstream_s *stream,
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (c == 'l')
|
if (c == 'l' || c == 'L')
|
||||||
{
|
{
|
||||||
if ((flags & FL_LONG) != 0)
|
if ((flags & FL_LONG) != 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user