Add ATTRIBUTE_PRINTF to trace_start_error
authorSimon Marchi <simon.marchi@ericsson.com>
Sat, 17 Jun 2017 21:19:25 +0000 (23:19 +0200)
committerSimon Marchi <simon.marchi@ericsson.com>
Sat, 17 Jun 2017 21:19:25 +0000 (23:19 +0200)
commit1d4fbac99e05c2d2ea98984f9bc6f7d7f1a183b7
tree4954bca031046a569bf8a6535c7c7652a9b9e931
parentae3e2ccfe75e5c62749c15ead5c95e052aad21ca
Add ATTRIBUTE_PRINTF to trace_start_error

clang complains that the fmt passed to vwarning in trace_start_error is
not a literal.  This looks like a fair warning, which can be removed by
adding ATTRIBUTE_PRINTF to the declaration of trace_start_error.

gdb/ChangeLog:

* nat/fork-inferior.h (trace_start_error): Add ATTRIBUTE_PRINTF.
gdb/ChangeLog
gdb/nat/fork-inferior.h