mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Bug fix by Jonathan Chung
This commit is contained in:
parent
697af5ef08
commit
506eced1bc
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user