Fix ARI warning in remote.c (no trailing \n in call to error)

* remote.c (remote_get_noisy_reply): Remove trailing "\n" in call
        to error.
This commit is contained in:
Joel Brobecker 2010-06-02 22:21:53 +00:00
parent b8e8282fd6
commit cb91c06acc
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-06-02 Joel Brobecker <brobecker@adacore.com>
* remote.c (remote_get_noisy_reply): Remove trailing "\n" in call
to error.
2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* dwarf2read.c (typename_concat): Add const to the variable sep.

View File

@ -446,7 +446,7 @@ remote_get_noisy_reply (char **buf_p,
p = buf + strlen ("qRelocInsn:");
pp = unpack_varlen_hex (p, &ul);
if (*pp != ';')
error (_("invalid qRelocInsn packet: %s\n"), buf);
error (_("invalid qRelocInsn packet: %s"), buf);
from = ul;
p = pp + 1;