diff --git a/libs/libc/stdio/lib_libvsprintf.c b/libs/libc/stdio/lib_libvsprintf.c index e0402aceee..a2d4e7b9ef 100644 --- a/libs/libc/stdio/lib_libvsprintf.c +++ b/libs/libc/stdio/lib_libvsprintf.c @@ -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) {