Fix ARI warning in darwin-nat.c::darwin_decode_message

gdb/ChangeLog:

        * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
        end of warning message.
This commit is contained in:
Joel Brobecker 2014-04-07 09:43:23 -07:00
parent 5063a42103
commit 86ad98c392
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-04-07 Joel Brobecker <brobecker@adacore.com>
* darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
end of warning message.
2014-04-03 Doug Evans <dje@google.com>
* dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one

View File

@ -1017,7 +1017,7 @@ darwin_decode_message (mach_msg_header_t *hdr,
}
/* Unknown message. */
warning (_("darwin: got unknown message, id: 0x%x\n"), hdr->msgh_id);
warning (_("darwin: got unknown message, id: 0x%x"), hdr->msgh_id);
status->kind = TARGET_WAITKIND_IGNORE;
return minus_one_ptid;
}