diff --git a/libs/libc/stdio/lib_libvsprintf.c b/libs/libc/stdio/lib_libvsprintf.c index 3df402d7e9..0c4cdd8deb 100644 --- a/libs/libc/stdio/lib_libvsprintf.c +++ b/libs/libc/stdio/lib_libvsprintf.c @@ -1122,6 +1122,14 @@ str_lpad: c = fmt_char(fmt); switch (c) { + case 'B': + { + FAR struct va_format *vaf = (FAR void *)(uintptr_t)x; + + lib_bsprintf(stream, vaf->fmt, vaf->va); + continue; + } + case 'V': { FAR struct va_format *vaf = (FAR void *)(uintptr_t)x;