Fix compilation failure in remote.c
authorSimon Marchi <simon.marchi@ericsson.com>
Mon, 6 Aug 2018 20:54:47 +0000 (16:54 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Mon, 6 Aug 2018 20:57:24 +0000 (16:57 -0400)
commita7f25a84f4cc1df5248c46346337f19a2a66af5a
tree538a34ca4d53d12c4a8f50bd35f7d7f850fb0ba4
parentdc1f2887c513c4c2110d2d997ab33ce36b9696fc
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.
gdb/ChangeLog
gdb/remote.c