This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 --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;
     }
-- 
2.19.2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]