diff --git a/configs b/configs index 21767e867c1..beb85fb3609 160000 --- a/configs +++ b/configs @@ -1 +1 @@ -Subproject commit 21767e867c11ee5de08be734f4f8dafb90b82243 +Subproject commit beb85fb3609aa8fccd9bd5f7e96e28d7d5a86763 diff --git a/libc/stdio/lib_sscanf.c b/libc/stdio/lib_sscanf.c index c9375d35d60..24b36998e1c 100644 --- a/libc/stdio/lib_sscanf.c +++ b/libc/stdio/lib_sscanf.c @@ -513,9 +513,11 @@ int vsscanf(FAR const char *buf, FAR const char *fmt, va_list ap) } } - /* Process %f: Floating point conversion */ + /* Process %a, %A, %f, %F, %e, %E, %g, and %G: Floating point + * conversions + */ - else if (*fmt == 'f' || *fmt == 'F') + else if (strchr("aAfFeEgG", *fmt) != NULL) { #ifdef CONFIG_HAVE_DOUBLE FAR double_t *pd = NULL;