diff options
Diffstat (limited to 'firmware/common')
-rw-r--r-- | firmware/common/sprintf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/common/sprintf.c b/firmware/common/sprintf.c index 80bdda6336..95bf55ebea 100644 --- a/firmware/common/sprintf.c +++ b/firmware/common/sprintf.c @@ -92,6 +92,10 @@ int vsnprintf (char *buf, int size, const char *fmt, va_list ap) while (val > 0); break; + case '%': + *--str = '%'; + break; + default: *--str = ch; break; |