mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-07 18:25:14 +00:00
Bug fix by Jonathan Chung
This commit is contained in:
@@ -282,6 +282,7 @@ format_str_v(const StrFormatContext *ctxt, const char *format, va_list ap)
|
||||
if (*pos >= '0' && *pos <= '9') {
|
||||
precision = parse_uint(&pos);
|
||||
} else if (*pos == '*') {
|
||||
pos++;
|
||||
precision = va_arg(ap,int);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user