long double need use the format of 'Lf'
Signed-off-by: zhangwenjian <zhangwenjian@xiaomi.com>
This commit is contained in:
parent
955a3838f7
commit
18497e5bc6
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue