mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 04:50:07 +00:00
Don't use unsupported format string in ld.so (bug 29427)
The dynamic loader does not support printf format strings that contain a literal field width or precision, they have to be specified indirectly.
This commit is contained in:
parent
70ff58ced4
commit
521d540562
@ -108,7 +108,7 @@ _dl_diagnostics_print_labeled_value (const char *label, uint64_t value)
|
|||||||
if (high == 0)
|
if (high == 0)
|
||||||
_dl_printf ("%s=0x%x\n", label, low);
|
_dl_printf ("%s=0x%x\n", label, low);
|
||||||
else
|
else
|
||||||
_dl_printf ("%s=0x%x%08x\n", label, high, low);
|
_dl_printf ("%s=0x%x%0*x\n", label, high, 8, low);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user