mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +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') {
|
if (*pos >= '0' && *pos <= '9') {
|
||||||
precision = parse_uint(&pos);
|
precision = parse_uint(&pos);
|
||||||
} else if (*pos == '*') {
|
} else if (*pos == '*') {
|
||||||
|
pos++;
|
||||||
precision = va_arg(ap,int);
|
precision = va_arg(ap,int);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user