diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-08-06 16:54:47 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-08-06 16:57:24 -0400 |
commit | a7f25a84f4cc1df5248c46346337f19a2a66af5a (patch) | |
tree | 538a34ca4d53d12c4a8f50bd35f7d7f850fb0ba4 /gold | |
parent | dc1f2887c513c4c2110d2d997ab33ce36b9696fc (diff) | |
download | gdb-a7f25a84f4cc1df5248c46346337f19a2a66af5a.zip gdb-a7f25a84f4cc1df5248c46346337f19a2a66af5a.tar.gz gdb-a7f25a84f4cc1df5248c46346337f19a2a66af5a.tar.bz2 |
Fix compilation failure in remote.c
A recent patch introduced a few of these:
/home/emaisin/src/binutils-gdb/gdb/remote.c:12862:19: error: format not a string literal and no format arguments [-Werror=format-security]
error (err_msg);
^
Fix them by replacing the call to error with
error ("%s", err_msg);
gdb/ChangeLog:
* remote.c (remote_target::download_tracepoint): Fix format
string errors.
Diffstat (limited to 'gold')
0 files changed, 0 insertions, 0 deletions