diff mbox

[commit] Fix ARI warning in darwin-nat.c::darwin_decode_message

Message ID 1396889147-19052-1-git-send-email-brobecker@adacore.com
State Committed
Headers show

Commit Message

Joel Brobecker April 7, 2014, 4:45 p.m. UTC
Hello,

FYI, I just pushed the following commit.

gdb/ChangeLog:

        * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
        end of warning message.

Thanks!
diff mbox

Patch

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ea3d976..e975593 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c
index 7d2508e..6f9a64a 100644
--- a/gdb/darwin-nat.c
+++ b/gdb/darwin-nat.c
@@ -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;
 }