* grub-core/kern/misc.c (grub_vsnprintf_real): Fix fmt2 parsing.
This commit is contained in:
parent
e59b7857f8
commit
fd261d7300
2 changed files with 10 additions and 0 deletions
|
@ -749,6 +749,12 @@ grub_vsnprintf_real (char *str, grub_size_t max_len, const char *fmt0, va_list a
|
|||
while (*fmt && grub_isdigit (*fmt))
|
||||
fmt++;
|
||||
|
||||
if (*fmt && *fmt =='.')
|
||||
fmt++;
|
||||
|
||||
while (*fmt && grub_isdigit (*fmt))
|
||||
fmt++;
|
||||
|
||||
p = fmt;
|
||||
|
||||
if (*fmt && *fmt == '$')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue