mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
Fix incorrect string_printf use in utils.c
I made a mistake earlier and used string_printf where I should have used string_vprintf. I'm checking this in as obvious. 2017-10-03 Tom Tromey <tom@tromey.com> * utils.c (internal_vproblem): Use string_vprintf.
This commit is contained in:
@ -425,7 +425,7 @@ internal_vproblem (struct internal_problem *problem,
|
||||
style similar to a compiler error message. Include extra detail
|
||||
so that the user knows that they are living on the edge. */
|
||||
{
|
||||
std::string msg = string_printf (fmt, ap);
|
||||
std::string msg = string_vprintf (fmt, ap);
|
||||
reason = string_printf ("%s:%d: %s: %s\n"
|
||||
"A problem internal to GDB has been detected,\n"
|
||||
"further debugging may prove unreliable.",
|
||||
|
Reference in New Issue
Block a user