diff options
author | Tom Tromey <tom@tromey.com> | 2017-10-03 08:26:16 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-10-03 08:26:16 -0600 |
commit | f8bfbf22251f6c2772a9a1059c3180c638ad2830 (patch) | |
tree | 2dca9e6c7187f129c951ac71535ed0a6ec4728e6 /gdb/utils.c | |
parent | 5178ed487f813639e660fba23215fa7ba69a769e (diff) | |
download | gdb-f8bfbf22251f6c2772a9a1059c3180c638ad2830.zip gdb-f8bfbf22251f6c2772a9a1059c3180c638ad2830.tar.gz gdb-f8bfbf22251f6c2772a9a1059c3180c638ad2830.tar.bz2 |
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.
Diffstat (limited to 'gdb/utils.c')
-rw-r--r-- | gdb/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index 03b66c4..118fcc3 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -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.", |