diff mbox

[PUSHED] OBVIOUS: Fix ARI warning by removing warning trailing new line

Message ID 20181217055432.8184-1-philippe.waroquiers@skynet.be
State New
Headers show

Commit Message

Philippe Waroquiers Dec. 17, 2018, 5:54 a.m. UTC
2018-12-17  Philippe Waroquiers  <philippe.waroquiers@skynet.be>

	* nat/linux-ptrace.c (kill_child): Fix ARI warning by removing
	warning trailing new line.
---
 gdb/ChangeLog          | 5 +++++
 gdb/nat/linux-ptrace.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 24d0e640b9..695bc0573b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@ 
+2018-12-17  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+	* nat/linux-ptrace.c (kill_child): Fix ARI warning by removing
+	warning trailing new line.
+
 2018-12-16  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
 
 	* nat/linux-ptrace.c (kill_child): New function.
diff --git a/gdb/nat/linux-ptrace.c b/gdb/nat/linux-ptrace.c
index 49a1d011bd..d4c1b8f9fd 100644
--- a/gdb/nat/linux-ptrace.c
+++ b/gdb/nat/linux-ptrace.c
@@ -89,7 +89,7 @@  kill_child (pid_t child, const char *who)
 
   if (kill (child, SIGKILL) != 0)
     {
-      warning (_("%s: failed to kill child pid %ld %s\n"),
+      warning (_("%s: failed to kill child pid %ld %s"),
 	       who, (long) child, safe_strerror (errno));
       return;
     }